Police in India say they have shot dead a man accused of killing eight policemen in the northern state of Uttar Pradesh.
Vikas Dubey, who was on the run for nearly a week after the incident, was held in the neighbouring state of Madhya Pradesh on Thursday.
Police said they were transporting Dubey to Uttar Pradesh when the car he was travelling in overturned.
They said he stole a policeman's gun and tried to flee.
The inspector general of police, Mohit Agarwal, told India's PTI news agency that policemen killed Dubey - described as a notorious gangster - in retaliation, after he refused to surrender and fired at officers.
But some have raised questions about the official account, in a state where police are often accused of using excessive force.
Dubey, often described as one of the most notorious criminals in Uttar Pradesh, had more than 60 cases pending against him, including murder, attempted murder, kidnapping, arson, and rioting.
He allegedly killed a state minister inside a police station in 2001. He was arrested but was soon released on bail. Most cases against him followed the same trajectory.
Dubey was said to have good political connections. A group of armed men accompanied him everywhere he went, and witnesses against him often changed their testimonies or refused to appear in court.
Dubey was taken in for questioning as a teenager in early 2000s, after beating up some people in his village. But he was bailed by a local politician and no case was registered against him. From there he enjoyed a meteoric rise in Uttar Pradesh's criminal underworld.
As more and more cases were registered against him, his status continued to rise. But no prosecution was successfully brought. Dubey even dabbled in politics - both he and his wife won local civil polls. A senior political reporter in Uttar Pradesh said his ambition was to become a state lawmaker, and he was trying to formally enter politics at the time of his death.
Police say that he stole an officer's gun and attempted to escape, firing at officers as they called for his surrender. They say that they fired back, injuring him seriously. He was declared dead within minutes after police took him to the hospital.
It is a familiar story in Uttar Pradesh.
Police shootings, known locally as "encounters", have become routine since Yogi Adityanath came to power in the state. The chief minister, from the Hindu nationalist Bharatiya Janata Party, promised to improve law and order in the state.
More than 1,000 encounters were reportedly recorded in his first year in power. His opponents have accused the police under Mr Adityanath of using excessive force.