Armed possibly with sticks, there intention was to loot, they said.
Two of the victims, identified as Iqbal (27) and his uncle Majeed Khan (50) succumbed to their injuries, they said.
Unidentified people attacked the official accommodation of one class-four employee at the Government Inter-College Kallu Khan late last night, Additional SP Sanjay Yadav said.
He said the injured were admitted to a hospital from where one Sakeena having serious injuries was referred to a hospital in Agra.