A former Georgetown high school teacher has been sentenced to five years in prison for having sex with a 15-year-old student.

Twenty-seven-year-old John Thompson was a highly regarded social studies teacher at Sussex Central High School until his arrest last summer.

Superior Court Judge Richard Stokes sentenced Thompson to 25 years in prison Friday, with all but five years suspended. He is not to have any contact with his former students.

Thompson pleaded guilty last month to third-degree rape, unlawful sexual contact and unlawful delivery of a prescription drug.

It wasn't the first such case at the school. Former Sussex Central principal Dana Goodman was sentenced to four years in prison in 2008 for having sex with a student.