MARYVILLE, Tenn. (AP) — A former Alcoa High School softball coach has headed off his sexual offenses trial by changing his pleas.

The Daily Times (http://bit.ly/XjQBAO ) reported 41-year-old Robert Paul Talley of Knoxville will serve four months in jail on his plea that involves sex crimes against female former students who were 13-17 years old.

Talley entered pleas of guilty and "no contest" Tuesday to a variety of charges against him. He was sentenced to four years in prison, but will serve only 120 days in jail and the rest on community corrections status.

He must surrender his teaching license and will be permanently listed on the sex offender registry.

Circuit Court Judge Tammy Harrington told Talley his crimes were despicable and warned him to not come back to court on a violation.