LUFKIN (AP) — A 39-year-old East Texas kindergarten teacher has been sentenced to 10 years in prison after pleading guilty to seven counts of sexual assault with a child and improper relationship with a student for having sex with high school students.

A judge in Angelina County also has ordered Heather Robertson, of Lufkin, to surrender her teaching certification and register for life as a sex offender.

READ MORE: Dallas Police Officer Arrested For Domestic Assault

Robertson was a teacher in the Hudson school district, just outside Lufkin, for 13 years. Prosecutors said Thursday an investigation showed she had sex at her Lufkin apartment with at least six Hudson students between last November and February this year.

READ MORE: Much Happening In DFW For Juneteenth Including Walk With Opal Lee

She resigned as a Hudson teacher April 20 and was arrested the next day. She could have received up to 20 years on each count.

MORE NEWS: Drowning In Grapevine Lake Prompts Warning From First Responders

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)