Cody Fern will become a series regular in “House of Cards” Season 6, but details about his role is still being kept under wraps.

According to Entertainment Weekly, the “American Crime Story: The Assassination of Gianni Versace” star will be joining other newbies in Netflix’s final season for its political drama, such as Diane Lane and Greg Kinnear.

The show almost didn’t push through with its sixth season after lead star Kevin Spacey was implicated last year with several sexual harassment accusations.

Spacey’s troubles began after “Star Trek” star Anthony Rapp accused him of sexual harassment dating back to 1986. Rapp was only 14 years old then, while Spacey was 26. After Rapp’s confession, several other men, including “House of Cards” crew members, also came forward with their own sexual harassment stories against Spacey.

After going back and forth about Season 6 for several weeks, Netflix finally announced that production for the final season will begin in early 2018. The eight-episode season will star Robin Wright as Claire Underwood, and Spacey will no longer be included.

Netflix’s chief content officer Ted Sarandos admitted that it was hard for them to move on without Spacey. Still, they were happy with the decision they made.

“I think it gave us all an opportunity to soul-search right away and I love that we were able to very quickly come to the conclusion,” Sarandos told the New York Daily News.

The exec added that employees have a right to “a workplace that is safe, where people are equal and respected and are judged by the quality of their work and not who they are — not to be in a position to be taken advantage of by people of power.”

So even though Spacey was the lead star, they will not tolerate his behavior. “The best way to set that environment is, no matter who it is, they’ve got to go,” he said.

“People love the show,” Sarandos added. “They love Claire (the First Lady played by Robin Wright). They love Francis, too, and everybody wants to see how this wraps up. Yes, this was a Kevin Spacey story, but there’s 340 people who make that show.” Cody Fern Actor Cody Fern has been cast in an undisclosed role in “House of Cards” Season 6. In this photo, the actor attends the premiere of FX’s “The Assassination Of Gianni Versace: American Crime Story” at ArcLight Hollywood on Jan. 8, 2018 in Hollywood. Photo: Getty Images/Neilson Barnard