By Ariana Bacle
Updated October 06, 2014 at 10:35 PM EDT
Credit: John Parra/Getty Images

A lot of pop stars make headlines because of the people they date, the clothes they wear, and the clothes they take off onstage. But Mexican singer Gloria Trevi’s story is a bit more complicated than that.

Picturehouse acquired the rights to Gloria, a biopic that chronicles Trevi’s rise to fame as a singer and her subsequent sex-related legal troubles, which included accusations of kidnapping and sexually abusing minors. Although her debut album Qué Hago Aquí?topped the charts in 1989, Trevi didn’t stay on top for long thanks to her relationship with manager Sergio Andrade, the man who was accused of running the sex slave ring Trevi became associated with. After spending four years in prison, Trevi was released in 2004 thanks to lack of evidence. She’s released four albums since her release.

Sofia Espinosa will play the title character in Gloria in a role that will feature the actress singing some of Trevi’s hits, including 1989’s “Dr. Psiquiatra.” “It’s a story about redemption, love and unlove, and how one can lose control of things,” producer Matthias Ehrenberg said in a statement. “It doesn’t intend to scandalize, but it certainly doesn’t hide what happened.”

Gloria is set to arrive in theaters in early 2015.