Ted Cruz's campaign has pulled its most recent ad, "Conservatives Anonymous," after learning one of the actors in the spot is also a softcore porn star.

The ad, which was set at a group therapy session of conservative voters who feel betrayed by Marco Rubio on immigration, featured actor Amy Lindsay, who played a woman telling another group member, "Maybe you should vote for more than just a pretty face next time."

Lindsay has appeared in several softcore porn films, including Erotic Confessions, Carnal Wishes, Secrets of a Chambermaid, and Insatiable Desires.

BuzzFeed News, after learning of Lindsay's prior filmography, requested comment from the Cruz campaign. Cruz spokesman Rick Tyler told BuzzFeed News in a statement that the campaign is taking the ad down and replacing it with a different one.

"The actress responded to an open casting call. She passed her audition and got the job. Unfortunately, she was not vetted by the production company. Had the campaign known of her full filmography, we obviously would not have let her appear in the ad," Tyler said.

Prior to the Cruz campaign pulling the ad, Lindsay told BuzzFeed News in a phone interview on Thursday that she's a Christian conservative and a Republican. While she emphasized that she did not do hardcore porn and that she also appeared in non-erotic films, Lindsay said she thinks it is "cool" that an actor who has appeared in softcore porn could also appear in Cruz's ad.

"In a cool way, then hey, then it's not just some old, white Christian bigot that people want to say, 'It could be, maybe, a cool kind of open-minded woman like me,'" she said of people supporting Cruz.

Though Lindsay initially told BuzzFeed News that the person at the campaign who hired her "absolutely knew everything that I had done," she later called back to say that she realized that was not the case.

"I have clearly talked to the filmmakers and stuff and just to be clear, I assumed that they knew, but none of the filmmakers or the casting director knew about my complete filmography in the past that you're talking about, so I was wrong in that statement," Lindsay said, saying that she had assumed that an old friend of hers from an acting class who was present when she was hired was aware of her film history.

Lindsay said she is currently deciding whether to support Cruz or Donald Trump.

Hours after the story was posted, Lindsay tweeted that she was "disappointed" the Cruz campaign removed the video: