The accused in the case of threatening and sexually assaulting a 10th class student has been sentenced to 30 years in prison