CORPUS CHRISTI, Texas — A former teacher at H.M. King High School in Kingsville, TX pled guilty to charges of online solicitation of a minor.

34-year-old Gabriel Villarreal took a plea deal Wednesday accepting a ten year probated sentence.

Villarreal is accused of being involved with one of his students.

As part of the plea deal, Villarreal will have to register as a sex offender and can never be a teacher again.