A former Olathe high school teacher accused of having sex with a 16-year-old student has pleaded guilty in the case.

The Kansas City Star reports that 33-year-old Jeana Marie Fleming pleaded guilty to one count of unlawful sexual relations on Wednesday in Johnson County District Court. Prosecutors say Fleming and the student had sex in December 2014 while she was a teacher in the Olathe school district's alternative education program for high school students.

Assistant District Attorney Keith Henderson said that the boy reported the relationship to school officials in May.

Under Kansas law, it is illegal for a teacher to have sex with a student at the same school, even if the student is above the age of consent. In Kansas, the age of consent is 16.

Fleming is scheduled to be sentenced April 12.

Susan Law Cain, ThinkStock