Sarah Silverman is opening up about getting fired from a movie after producers discovered she wore blackface makeup in a 2007 sketch.

In an episode of Comedy Central’s The Sarah Silverman Program, her character puts on blackface to see if it’s harder to be black or Jewish. In it, she said: “I look like the beautiful Queen Latifah,” and she is also shown telling the congregation at an African-American church: “I'm black today.”

On a recent Bill Simmons Podcast, she revealed: “I recently was going to do a movie … a really sweet part and a cool little movie.”

“Then at 11 p.m. the night before, they fired me because they saw that picture of me in blackface from that episode,” she added. “So they hired someone else who's wonderful but who's never stuck her neck out.”

Silverman said she “didn't fight it,” but added: “It was so disheartening, it just made me real, real sad because I've kind of devoted my life to making it right.”

She also spoke out about “cancel culture.”

“It's like, if you're not on board, if you say the wrong thing, if you had a tweet once … everyone is, like, throwing the first stone,” she said, dubbing the trend “righteousness porn.”

Still, she has admitted that she can’t stand by the sketch. She told GQ last year: “I'm horrified by it, and I can't erase it. I can only be changed by it and move on.”