LIBERTY HILL, Texas (KXAN) — A former teacher at Liberty Hill High School has been arrested and charged with sexual assault of a child and of having an improper relationship with a 16-year-old student.

On Tuesday, Brian Grady Miller, 41, of Georgetown, was booked into the Williamson County Jail on two counts of sexual assault and one count of improper relationship with a student.

According to an arrest affidavit, Miller and the student were caught by a Liberty Hill police officer around 1 a.m. Dec. 16 in a parked car near the Liberty Hill City Park. The affidavit says Miller was in the backseat of the car while the student was in the front passenger seat. Both initially denied any sexual contact between them, the affidavit says.

When the student was interviewed by police later, she said they were caught having sex, the affidavit says. She said they had multiple sexual encounters leading up to being caught by police. The student said she snuck out of her home to be with Miller the night they were caught, the affidavit says.

The affidavit says Miller told police that he couldn’t sleep so he “went for the a drive.” He then said the student contacted him and said she was going for a walk and “didn’t care if she got run over.” Miller then went and picked her up at her house in Bertram, the affidavit says, and then they drove to the park. Miller denied any sexual contact with the student, the affidavit says.

Miller said he met the student in February and was mentoring her because she had been using drugs and harming herself, the affidavit says.

Police found evidence of sexual contact in Miller’s classroom at Liberty Hill High School, the affidavit says, which coupled with the student’s interview with police, led them to arrest Miller.

According to LinkedIn, Miller had been with Liberty Hill ISD as a computer science teacher since January.

Liberty Hill ISD says Superintendent Steven Snell met with Miller after he was notified of the allegations, at which time Snell received Miller’s resignation.

“The safety and well-being of our students at Liberty Hill ISD are among our highest priorities,” Snell said in a statement. “Liberty Hill ISD never takes our responsibility lightly to the students placed into our care. We are saddened and disappointed by the alleged behavior of this former employee. District leadership will continue to work in full cooperation with all involved agencies.”

Miller’s total bond amount was set at $60,000.

LHISD indicated in its letter to the community it could no longer comment as the investigation is ongoing. The allegations have also been reported the State Board for Educator Certification and Texas Child Protective Services.

If you or someone you know have been sexually assaulted, you can call the National Sexual Assault Telephone Hotline, a confidential service that can provide support and resources.