The clash broke out after some local residents -- Shahjad, Mohammad, Sabir and Sharif -- objected to a group of men misbehaving outside a temple in the colony, said Virendra Yadav, Station House Officer, Loni.
One of the groups started firing at the other during which Shahjad was injured, Yadav said, adding that Shahjad has been admitted to a local hospital.
A case has been registered and investigation is in progress, police said.