Kevin Spacey will pay nearly $31 million to "House of Cards" producers for breaching his contract over his alleged behind-the-scenes sexual misconduct.

The disgraced 62-year-old actor starred on the hit Netflix political drama from 2013-2017 before he was accused of sexual misconduct by several young men, including a production assistant on the show.

Spacey was booted from the program while Robin Wright took over as its lead for its final season in 2018.

Allegations against Spacey caused "House of Cards" studio MRC to launch an investigation, resulting in the termination of the star's acting and producing contracts.

KEVIN SPACEY TO APPEAR IN FIRST MOVIE SINCE MISCONDUCT ALLEGATIONS CAME TO LIGHT

Kevin Spacey lost a nearly $31 million arbitration to MRC over his alleged sexual misconduct on the set of 'House of Cards.'

Kevin Spacey lost a nearly $31 million arbitration to MRC over his alleged sexual misconduct on the set of 'House of Cards.' (Daniel Zuchnik/WireImage)

The results took both parties to JAMS Arbitration, according to The Hollywood Reporter, which is co-owned by MRC and Penske Media Corporation, and Spacey has lost the battle.

MRC filed documents in Los Angeles Superior Court seeking to confirm the arbitration award.

KEVIN SPACEY GRABS LUNCH ALONE DAYS BEFORE COURT HEARING IN SEXUAL ASSAULT LAWSUIT

Per the filing, an Oct. 19 ruling by an arbitrator said that Spacey breached contractual obligations, including following MRC's anti-harassment policies, THR reports.

The arbitrator pointed to evidence that MRC took a hit due to Spacey's behavior, such as its need to shorten the show's sixth season in order to meet the delivery deadline after halting production.

Kevin Spacey starred in Netflix's ‘House of Cards’ from 2013-2017. He was accused of sexual misconduct by a production assistant on the set of the show.

Kevin Spacey starred in Netflix's ‘House of Cards’ from 2013-2017. He was accused of sexual misconduct by a production assistant on the set of the show. (Netflix)

Spacey reportedly argued that his "pay or play" deal still entitled him to money and that MRC and Netflix's decision to cut him from the show based on conduct from outside the statute of limitations was their own choice, resulting in financial loss.

KEVIN SPACEY ACCUSED OF GROPING 'HOUSE OF CARDS' PRODUCTION ASSISTANT: REPORT

"The safety of our employees, sets and work environments is of paramount importance to MRC and why we set out to push for accountability," MRC said in a statement obtained by Fox News.

Attorney Michael Kump said that "it was a privilege representing MRC in this matter."

Spacey was booted from the show before its final season in 2018. Robin Wright took over as the show's lead.

Spacey was booted from the show before its final season in 2018. Robin Wright took over as the show's lead. (Netflix)

He added: "MRC stood its ground, pursued this case doggedly, and obtained the right result in the end."

CLICK HERE TO GET THE FOX NEWS APP

Reps for Netflix and Spacey did not immediately respond to Fox News' request for comment.

CLICK HERE TO SIGN UP FOR OUR ENTERTAINMENT NEWSLETTER

Spacey reportedly attempted to appeal the nearly $31 million ruling but was unsuccessful.