A former teacher in Ohio pleaded guilty to charges stemming from giving birth to her student-turned-foster son’s baby.

Laura Lynn Cross, 37, appeared in court Friday on sexual battery charges in connection with a three-year relationship with the male teenager, the Beacon Journal reported.

Prosecutors alleged that she and the then-16-year-old allegedly became sexually involved in 2013 while he was a freshman at Buchtel High School.

Their relationship reportedly became more complicated in 2015 when the English teacher resigned from the school and asked his mother to be his legal guardian.

Cross allegedly told his mom that she wanted to “mentor” him and was granted partial custody, according to authorities.

Under the court-approved arrangement, Cross and the teen moved in together to her Tallmadge home, officials said.

In June 2015, the boy’s mother filed a police complaint about the alleged affair. No charges, however, were filed until authorities learned that Cross gave birth to the teen’s baby in December 2015.

“First of all, she’s a schoolteacher,” the teen’s father, who didn’t identify himself, told news station WEWS-TV. “To get aroused by a child, basically you have to be a sick individual.”

She was arrested in August 2017 on sexual battery charges after authorities obtained a recording of the teen confessing to his father, according to news site MyTownNeo.

“It was a straight failure from the system,” the teen’s father told WEWS-TV. “From the school and definitely from the police.”

Cross is set to be sentenced May 24.