Andre Levelle Thomas, 32, is charged with aggravated sexual assault of a child.

September 25, 2012 2:05:17 PM PDT

HOUSTON --

A Spring ISD teacher has pleaded guilty to sexually assaulting a student.

Andre Thomas was a teacher at Roberson Middle School, when he raped a 13-year-old girl in his classroom in August of last year. On Tuesday, Thomas made a plea agreement and was sentenced to 180 days in jail and ten years probation.

A statement by the victim was made in court Tuesday. In it, she said she had to pretend Thomas was a good teacher, when he was really a horrible teacher, but she said she is a survivor.