A Texas middle school teacher was recently sentenced to prison after having sex with a 15-year-old student while she was pregnant, according to officials.