According to Superintendent of Police (Dehat) Vijay Gautam, the clash started when a 16-year-old girl was allegedly eve-teased by a youth belonging to upper caste.
An altercation followed and the girl's uncle Inderpal Jatav was shot dead in Fareedpur village, police said.
Later, in retaliation, some people attacked houses of people belonging to the upper caste, in which two persons-- Balbir Singh and Om Prakash -- were killed.
Stones were also pelted on police team as it reached the crime spot.