According to authorities, a crowd thrashed a private school teacher, tonsured his head, blackened his face, and paraded him through a hamlet in Indore, Madhya Pradesh, for allegedly stalking and harassing a Class VIII student.

The instructor was detained under the provisions of the IPC and the Protection of Children from Sexual Offences (POCSO) Act after a video of the event, which occurred on Saturday, went viral, according to the in-charge of the local police station.

“The teacher is accused of stalking the girl, who studies in the same school where he teaches, and he had recently sent her a love letter. The accused also threatened the 15-year-old girl that her family would face the consequences if she rejected his advances,” the police officer said.

The officer said a case has been filed in connection with the assault of the teacher and those involved are being identified.

He abused the girl a year ago, according to the lawsuit, and was pestering her nonstop. Villagers allege that on Friday, he sent her a message asking that she meet him through a six-year-old child. He later spoke to the girl on phone and threatened to ‘kill her parents with tantric rituals’ if she didn’t obey him, Terrified, the girl fell unconscious.

When she regained consciousness, she told her parents what had happened. Soon after, locals went in search of the instructor, beating him before handing him over to the cops.