At least seven other people were injured in the night time incident in a village in the northern state of Uttar Pradesh.
State Police Chief HC Awasthi told reporters that the suspect “had the support of the entire village as there was firing from several rooftops.
Prashant Kumar, another senior policeman, said the attackers, who had obstructed the entrance to the village with an excavator, appeared to have been armed with semi-automatic weapons.
“It was a planned attack,” Kumar told reporters.
Media reports said the suspect had a long criminal history including the alleged murder of a politician and state minister in 2001 and was wanted over another 60 crimes.