He allegedly sexually harassed the girl near a place where he was working. The girl raised an alarm, following which local residents gathered at the spot and confronted him