Four youths tried to steal goats offered by locals at Kaliji temple in Govardhanpur area last night, police said.
The youths were on motorcycles and when some people tried to stop them they opened fire, in Hussainganj area.
Some agitated locals caught two of the youths and thrashed them severely, police said, adding that they were rushed to a hospital where one person died of the injuries.