(CNN) — Actor Kevin Spacey must pay over $31 million to the production company that was made to pay him for the work he did during filming of the hit political drama “House of Cards.”
Netflix initially ordered a sixth season of the show that includes Spacey, but suspended production following sexual misconduct allegations against the actor.
A federal judge decided Friday that Media Rights Capital had met its burden of proving that it was owed the funds in a lawsuit filed against Spacey.
In the lawsuit, Netflix claims that it is not out of pocket and that MRC was “deluged” with public reports of Spacey’s alleged misconduct, which included attempted rape, in order to predict the company would have to come up with the money.
Netflix said that at one point, they offered MRC a “completely cost-neutral” solution to its problem, but they declined.
MRC blamed the public complaints on Spacey but also claimed they “were effectively blackballed by Spacey” after he was accused of sexually assaulting an 18-year-old man in 2017.
When the company found it impossible to continue with the project, “the mere presence of Spacey was virtually a prerequisite to film the season without delay or jeopardy,” according to the claim.
After the season ended production in October 2017, Netflix said it never renewed the show without Spacey’s involvement.
After production was shut down, the new season started in July 2018.
CNN has reached out to Spacey’s representatives for comment.