16/09/2016 3:34 PM IST | Updated 16/09/2016 4:11 PM IST

WATCH: Uttar Pradesh Woman Beats Man With Slipper After He Passes Lewd Comments

He probably didn't see that coming.

A woman from Bareilly in Uttar Pradesh was encouraged to teach a man a lesson after he allegedly followed her on her way to college and then passed lewd comments at her. The woman, who is about 17 years old, was riding her bicycle on her way to college in Meerganj district on Wednesday, when the man, also from the same area, started following her in his motorcycle.

According to a complaint to the police, he passed lewd comments at her. On her way, she met her uncle and told him about the man, identified as Sabir, following her. While her uncle stopped Sabir and told him off, locals caught hold of him and asked the woman to thrash him with her slipper as punishment, according to cops.

He was later handed over to police, where he has been booked for harassing the woman as well as under the POCSO (Protection of Children from Sexual Offences) Act. "We have given instructions to the local police to book him under the Goonda Act," UP Police PRO Rahul Srivastav told HuffPost India. "This is essentially a preventive act and his activities will be monitored in the future."

Watch the video of the incident below:

Last year, another woman beat up a boy inside a police station in UP for allegedly harassing her.

WATCH: Woman Beats Up Man In UP Police Station For Allegedly Harassing Her

Photo gallery Memento Mori by Pablo Bartholomew See Gallery