A former junior high school teacher in Louisiana was given a suspended prison sentence after she admitted to having sex with a 15-year-old boy.

28-year-old Kaylyn Huval pleaded guilty to one count of carnal knowledge of a juvenile.

She was a teacher at Cecilia Junior High when she was arrested in March of 2015 for her sexual relationship with the boy.

She was sentenced to 10 years in prison, but it was suspended and she was given five years of supervised probation instead.

She was also ordered to get sex offender counseling, avoid juveniles (other than family members), and register as a sex offender. She’ll no longer be allowed to teach either..

The boy’s mother sued the school district for putting her son in the situation and giving him emotional problems. It claims that Ms. Huval “would create situations and scenarios in which she would keep the minor student in the classroom after the other students in the class were dismissed” for “sexual activity which included … acts of touching, kissing, hugging, all the way up to acts of oral and sexual intercourse.”