NORRISTOWN, Pa. (AP) — A Pennsylvania high school math teacher who allegedly began flirting with a 17-year-old student when she chaperoned the 2013 senior prom is admitting in a guilty plea that she had sex with him.

Erica Ginnetti, of Philadelphia, pleaded guilty Tuesday in Montgomery County court to institutional sexual assault and disseminating sexually explicit materials to a minor.

READ MORE: Philadelphia Students Finding Comfort In Rec Centers Again Amid Gun Violence Epidemic

The 34-four-year-old remains free on bail and faces a possible maximum of seven to 14 years in prison when she is sentenced.

She was fired by Lower Moreland Township School District after her January arrest.

READ MORE: 'I Thought I Was Done': Residents Of Trevose Mobile Home Park Pick Up The Pieces After EF-3 Tornado

Prosecutors say Ginnetti had sent sexually explicit text messages and videos to the student before they had sex in her vehicle in July 2013. Authorities say the investigation began after they received a tip that students had been overheard talking about the relationship.

(© Copyright 2014 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)

MORE NEWS: Pirates' Crowe, 2 Relievers 1-Hit Phillies, End 4-Game Skid

Must Read Today’s Top Talkers:
[display-posts category=”talkers” wrapper=”ul” posts_per_page=”5″]