Former gay porn star Ryan Idol – real name Marc Anthony Donais – has been sentenced to 12 years in state prison for attempted murder.

Last September, Idol was convicted of attempting to murder a former girlfriend by smashing a toilet tank lid over her head during a heated September 5, 2009 altercation in her Sacramento, California home.

Idol filed a motion for a retrial, claiming “ineffective assistance of counsel,” which Sacramento Superior Court Judge Troy L. Nunley ultimately denied.

Nunley sentenced Idol on Wednesday, the Sacramento Bee reported.

During last year's trial, the woman testified that Idol knocked on the door of the West Sacramento condo they once shared while she was taking a bath and immediately told her he wanted to kill her upon entering the home. Idol told jurors that he thought she had pulled a knife on him and that he grabbed the toilet tank lid and smashed it on her head out of self defense.

Idol's 1990 debut in Idol Eyes kicked off his gay porn career and helped make Director Matt Sterling's Huge Video one of the best known and most successful gay pornographic production companies.

He would continue to headline big-budget porn films for the next six years. In 1999, Idol made his stage debut, starring in the play Making Porn. He made his Broadway debut in the 2007 revival of Terrence McNally's The Ritz.