A science teacher at my school, 'got off' with a 6th form student,
so she would have been around 18 years of age.
He wasn't sacked, but for the rest of his teaching career, at least at that school, he is abused with comments like, "Pedophile" and no student, has any respect for him.