A former student teacher was sentenced to 36 months in prison for an inappropriate relationship with a student.