Former biology teacher and assistant cheerleading coach Ashley Zehnder, 24, quit her job at Pasedena High School in Houston, Texas on October 9 after she admitted to having sex with a 17-year-old student all summer long. She was prompted to confess after a nude pic she Snapchatted him made its way around campus.

Zehnder was charged with having an inappropriate relationship with a student on Monday and released on $10,000 bond. According to the prosecutor, Zehnder first complained to administrators this fall that students were passing around a nude photo of her. The 17-year-old student then admitted to the school that Zehnder sent him the pic in the first place, prompting an investigation.

The student "was able to describe her room, her apartment, the layout of it, exactly where it was," assistant district attorney Nick Socias told KHOU 11. The student said he and Zehnder began having sex in May and continued to do so through August. Zehnder then confessed that she had a sexual relationship with him.

The two first met because the student was on the cheerleading squad. According to the Houston Chronicle, "He told officers ... that the relationship began when he lost his cellphone and used the teacher's phone to locate his. He saved Zehnder's phone numbers and they began texting."