A terminated biology teacher at Patrick Henry High School in Ashland allegedly had a sexual relationship with a student, with at least one incident occurring on campus.