By Hoai-Tran Bui/Sept. 6, 2018 12:59 pm EST

Striegel, who was cast in the sci-fi horror film by his longtime friend Shane Black, shared a three-page scene with star Olivia Munn in which he repeatedly hit on her character while jogging in a park. Black had not disclosed Striegel’s sex offender status when he cast him in the film.

However, Black, who has been friends with Striegel for nearly 15 years, had known. Striegel was arrested in 2009 for attempting “to lure a 14-year-old female into a sexual relationship via the internet,” according to the LA Times. Striegel had struck up an email correspondence with a 14-year-old girl who was a “distant relative” of his, in which Striegel used graphic sexual language. Though Striegel denies that the relationship was ever physical, a March 2009 arrest warrant affidavit obtained by the LA Times alleges that physical contact included “kissing, touching Doe’s breast over her clothing, rubbing her legs and stroking her neck” on several occasions. Striegel was charged with and pled guilty to two felonies — risk of injury to a child and enticing a minor by computer — for which he served six months in jail.

Black defended his decision to cast Striegel in the small part as a jogger who repeatedly hits on Munn’s character — for which Striegel did not have to audition — saying that he has long believed that Striegel was “caught up in a bad situation versus something lecherous.” In a written statement to the LA Times, Black added, “I personally chose to help a friend. I can understand others might disapprove, as his conviction was on a sensitive charge and not to be taken lightly.”

This is not the first time that Black has cast his friend in one of his films. One of Striegel’s first gigs after his release from prison was a small part in Black’s 2013 film Iron Man 3, and three years later, he landed a part in The Nice Guys. Black told GQ in 2016 that he was planning to produce a heist film “by my friend Steve Wilder.”

Update: Black released another statement following the LA Times’ report, which quoted email correspondences between Striegel and the minor, among other details available for public record. In his new statement, Black condemned his friend’s actions and apologized for casting him in the role. The statement reads:

After learning more about the affidavit, transcripts and additional details surrounding Steve Striegel’s sentence, I am deeply disappointed in myself. I apologize to all of those, past and present, I’ve let down by having Steve around them without giving them a voice in the decision."

“Having read this morning’s news reports, it has sadly become clear to me that I was misled by a friend I really wanted to believe was telling me the truth when he described the circumstances of his conviction. I believe strongly in giving people second chances – but sometimes you discover that chance is not as warranted as you may have hoped.

The Predator opens in theaters on September 14, 2018.