The 2019 Teacher of the Year at Texas’ Round Rock High School faces decades in prison after police allege she had sex with a student in her classroom on multiple occasions this fall.

Randi Chaverria, a 36-year-old Family and Consumer Science teacher at Round Rock High School, faces a second-degree felony count of improper relationship between an educator and student. Chaverria turned herself in to Williamson County Jail last week and was released Tuesday after posting a $25,000 bail, according to the Statesman.

KXAN reports:

Round Rock Police say they spoke with the student who explained that during the fall semester “on several occasions” Chaverria called him and had sexual contact with him, including performing oral sex. This student told police the two had oral sex twice in Chaverria’s classroom.

Police say text messages between Chaverria and the student support what the student told law enforcement about the nature of their relationship.

The felony charge comes just months after the Round Rock Independent School District named Chaverria “Secondary Teacher of the Year” in May, when she beat out 20 other high school teachers in the district to represent the district in a statewide competition.

“The most important role of a teacher is to shape future generations to become successful members of our community,” she said at the time. “More than any curriculum I teach my students, I hope that they will walk away from my classroom thinking of ways that they can make a difference in their community and impact the lives of others for the better.”

Superintendent Steve Flores said in a prepared statement in May that Round Rock ISD is “honored to have Randi Chaverria as our 2019 Secondary Teacher of the Year.”

“She is a dedicated educator who is committed to developing our students as leaders and citizens,” he said. “I’m confident that she will represent our District well …”

The announcement highlighted Chaverria’s five years teaching in the district, which including her oversight of an “Adopt-a-Child” community service project that pairs high school students with elementary students in need of Christmas presents.

Court records show Chaverria resigned from her teaching position on Nov. 19, the day after school officials allege they learned about her sextracurricular activities.

“Once notified, the teacher, who has elected to take leave before administration received the report, was immediately reported to the District’s Human Resources Department and law enforcement and not permitted to return to campus,” Round Rock High School Principal Matt Groff wrote in a letter to parents.

Groff wrote that Chaverria was also reported to the State Board for Educator Certification.

“Safety is the top priority of Round Rock High School and Round Rock ISD,” he wrote. “Ensuring a safe and secure learning environment requires partnership between students, parents, campus and district staff, as well as law enforcement.”