A federal judge on Thursday sentenced a former science teacher at South Middle School in Joplin to 28 years in prison for sexual exploitation of a child. U.S. District Judge Beth Phillips assessed Charles D. Gastel, 40, the term without parole at a hearing in federal court in Springfield. Upon completion of the sentence, he will be required to spend the remainder of his life on supervised release.