Actor Anthony Rapp has accused Spacey, star of the Netflix political drama, of making a sexual advance toward him when Rapp was 14 years old. In a statement posted on Twitter, Willimon said he had not been aware of any misconduct from Spacey while working on “House of Cards,” which is filmed in Maryland. Netflix announced Monday that the show will end after its upcoming sixth season.

“During the time I worked with Kevin Space on ‘House of Cards’ I neither witnessed nor was aware of any inappropriate behavior on set or off,” Willimon wrote. “That said, I take reports of such behavior seriously, and this is no exception. I feel for Mr. Rapp and I support his courage.”

In a joint statement released Monday, Netflix and the production company Media Rights Capital said they were “deeply troubled” by the allegations against Spacey. The decision to end the show was not related to the allegations, a Netflix spokesperson said.

“In response to last night’s revelations, executives from both of our companies arrived in Baltimore this afternoon to meet with our cast and crew to ensure that they continue to feel safe and supported,” the statement said. “As previously scheduled, Kevin Spacey is not working on set at this time.”

The two-time Oscar winner posted on Twitter that he doesn't remember the encounter.

"But if I did behave then as he describes, I owe him the sincerest apology for what would have been deeply inappropriate drunken behavior, and I am sorry for the feelings he describes having carried with him all these years,” Spacey wrote.

Rapp, 46, said in an interview with Buzzfeed that the alleged incident occurred in Spacey’s apartment in 1986, after a party the “American Beauty” actor had hosted. Rapp said an inebriated Spacey picked him up, placed him on his bed, and climbed on top of him, Rapp said.

Rapp, then 14, said Spacey, then 26, was holding him down tightly, but Rapp was able to get away and left the apartment.

Actor Kevin Spacey said Sunday he is "beyond horrified" by allegations that he made sexual advances on a teen boy decades ago.

The two-time Oscar winner posted on Twitter that he doesn't remember the encounter. "But if I did behave then as he describes, I owe him the sincerest apology for what...

Rapp, who is starring in the TV show "Star Trek: Discovery," said he came forward after allegations against Harvey Weinstein sparked conversations about sexual abuse and harassment in the entertainment industry.

Spacey, who is now 58, also publicly addressed his sexual orientation for the first time Sunday in the same post addressing Rapp’s allegations.

"As those closest to me know, in my life I have had relationships with both men and women," he said. "I have loved and had romantic encounters with men throughout my life, and I choose now to live as a gay man."

"House of Cards" has filmed in the Baltimore area throughout its run. Take a look at some of the local spots you may recognize while watching.