The film will be released by IFC Films on October 21.

Justin Kelly’s ripped-from-the-headlines drama “King Cobra” premiered at this year’s Tribeca Film Festival to positive reviews. In his B+ critique, IndieWire’s David Ehlich called it the “’Boogie Nights’ of gay porn and possibly the best film ever made about the business end of America’s gay porn industry.” Now, after being acquired by IFC Films, the first trailer has been released.

The film centers on Sean Lockhart (Garrett Clayton), a boyishly handsome seventeen-year-old who dreams of fame and success. After he meets the seemingly conservative Stephen (Christian Slater), founder of Cobra Video, he starts to perform in gay porn under the alter ego Brent Corrigan and soon becomes an overnight sex symbol. When two rival porn producers Joe (James Franco) and Harlow (Keegan Allen) try and recruit Corrigan, things take a turn for the worse. Molly Ringwald and Alicia Silverstone also co-star.

READ MORE: ‘King Cobra’ Is the ‘Boogie Nights’ of Gay Porn (Tribeca Review)

The movie is based on the 2007 murder of gay porn producer Bryan Kocis and the book “Cobra Killer” by Andrew E. Stoner and Peter A. Conway. Corrigan was originally offered a minor role in the film but ultimately declined. He later tweeted, “It’s made. And it’s not about me. It’s Hollywood’s attempt at bastardizing my early years in porn,” adding that he would set the record straight in his memoir.

“King Cobra” will be released in theaters on October 21. Check out the trailer below.

Stay on top of the latest breaking film and TV news! Sign up for our Email Newsletters here.

Sign Up: Stay on top of the latest breaking film and TV news! Sign up for our Email Newsletters here.