The Ted Cruz campaign on Thursday pulled a 30-second ad attacking 2016 rial Marco Rubio after it learned that one of the actresses featured in the spot previously appeared in pornographic films.

Actress Amy Lindsay, featured in Cruz’s now-suspended “Conservatives Anonymous” ad delivering one line, previously performed in adult films such as “Kinky Sex Club, Milf, Carnal Wishes,” “Sex Sent Me to the ER” and “Insatiable Desires.”

A photo posted by Amy Lindsay (@amylindsayla) on

“The actress responded to an open casting call,” Cruz spokeswoman Catherine Frazier said in a statement to The Daily Caller. “She passed her audition and got the job. Unfortunately, she was not vetted by the casting company. Had the campaign known of her full filmography, we obviously would not have let her appear in the ad. The campaign is taking the ad down and will replace it with a different commercial.”

Lindsay, who identified as a Christian conservative, previously told BuzzFeed that the Cruz campaign “absolutely knew everything that I have done.” She later called the outlet back to say she “was wrong in that statement.”

A request for comment from TheBlaze was not immediately returned by Lindsay.

Follow the author of this story on Twitter and Facebook: