Complex sentence: He was a teacher at Tategami High, and, despite being Megumi Kurogane's favorite teacher, is hated by most of the students.
Split into simpler sentences: He was a teacher at Tategami High, and is Megumi Kurogane's favorite teacher. But he is hated by most of the students.