Just days after John McDaniel was named teacher of the year at Texas' Colleyville Middle School, the band director was arrested after accusations emerged that he had sent nude pictures to a 15-year-old student.

The 32-year-old is charged with online solicitation of a minor, a third degree felony. Prosecutors are also charging him with having an improper relationship with a student, a second-degree felony, reported KSDK.

The information we have is that there was some sexting going on, by way of the cellphone and some explicit emails, Sgt. Robert Eberling said, MSNBC reported.

When he was brought in for questioning regarding the accusations, McDaniel confessed to the crimes, said Grapevine Police, in a statement.

According to documents reviewed by NBCDFW, McDaniel began an Internet relationship with the girl by instant messaging her through Facebook approximately two years ago. The victim told investors that the band director told her she was pretty and often thought about what she looked like naked. Then, the affidavit stated that the girl sent him a topless photo of herself. In response, he messaged her a picture of his genitals.

There is also evidence that the pair continued their relationship through cell phone and email. In fact, the victim's brother discovered emails the pair had exchanged, reported Fox.

When you send your child to school, you hope they are placed in a safe stable environment, Eberling said. It's unfortunate that this happens.

McDaniel is currently out of jail on $10,000 bond. However, police said they will arrest him again if they discover other victims.

He is currently placed on administrative live from Colleyville Middle School, where he had been employed since July 2009.

If the police investigation substantiates the allegations, the district will immediately proceed with termination procedures, the Grapevine-Colleyville Independent School District said in a statement, reported KSDK.