LUFKIN, Texas – A Texas teacher who engaged in sex acts with a student on a local golf course will serve three months behind bars as part of a plea deal reached Wednesday.

Lufkin High School history teacher and cheer coach Mary Ainsley Thigpen, 29, was sentenced to 90 days in jail, 10 years of probation, and required to pay a $1,500 fine after she pleaded guilty to engaging in a sexual relationship with the 18-year-old student, Lufkin Daily News reports.

MORE NEWS: Know These Before Moving From Cyprus To The UK

Thigpen resigned from her teaching position on Oct. 6 amid an investigation into her relationship with a student who was in her class last year and volunteered as a “cheer manager.” Thigpen oversaw a group of teens at the school known as “cheer managers” who helped cheerleaders at school events.

Court records show Thigpen and the student, who was 18 years old but has since turned 19, began exchanging text messages at the beginning of last school year. The student took screen shots of the messages that were “graphic and sexual in nature.”

The two were eventually forced to switch their messaging platform to GroupMe and Snapchat when Thigpen’s husband discovered the text messages, according to Thigpen’s arrest warrant.

The teen also told police he “hooked up” with his teacher at the Crown Colony golf course, where Thigpen twice performed oral sex on him, The Sun reports.

“Two teachers told school bosses that she and a student were exchanging an ‘inappropriate amount of text messaging’ and found out from another pupil who said that the student told them he had a sexual relationship with Thigpen,” according to the news site.

Investigators also took a statement from one of Thigpen’s students from the 2009-10 school year who said the two had a sexual relationship while he was at Lufkin High School, KTRE reports.

MORE NEWS: How to prepare for face-to-face classes

Thigpen appeared in court Wednesday before District Judge Bob Inselmann to accept the plea agreement, which does not require her to register as a sex offender upon her release from jail.

“Angelina County District Attorney Art Bauereiss said Thigpen would not have to register as a sex offender because the student was over the age of 18, and the agreement includes all known victims,” the Lufkin Daily News reports.

The alleged sexual relationship with the student from the 2009-10 school year “is outside of the statute of limitation, but is confirming evidence,” according to Thigpen’s arrest warrant.

Many folks who commented on Facebook about Thigpen’s plea agreement seem to think she got off easy.

“If it were a male teacher, he would be doing a minimum of 10 years in the penitentiary, not 10 years probation,” Patrick Capps wrote.

“Talk about a slap on the friggin wrist!” Gloria Hunt added. “This is a joke! And there is confirming evidence the other story was true, it’s just over the statute of limitations! I hope she can never find a job at a school again!”

“There’s people that go to jail longer for traffic tickets,” Daniel Williams posted.