A former pastor in Vernon, Texas, has been sentenced to 45 years in prison after he pleaded guilty last week to aggravated sexual assault of a child.