Shawn Loftis, who last year lost his job as a Miami-Dade County teacher for starring in gay porn as Collin O'Neal, has said he's returning to the classroom.

According to alternative weekly Miami New Times, Loftis built a gay porn empire that included his own production studio, Collin O'Neal Productions, and multiple awards for showing off his talents in films such as Mo' Bubble Butt, Humping Iron and Desperate Husbands.

In 2010, however, Loftis turned his back on gay porn, selling off his production company to pursue a teaching career. He earned a master's degree in public administration from the University of Miami and began substitute teaching in public schools throughout the Miami-Dade system.

Loftis was suspended last January after a school principal was tipped on his former career.

He was accused of breaking a school district rule which demands that school faculty “conduct themselves, both in their employment and in the community, in a manner that will reflect credit upon themselves and the school system.”

In April, the Florida Department of Education revoked his teaching certification.

The former porn star told the Post Newsweek on Friday that the education commission reversed the principal's decision.