Police in India's Tamil Nadu state recaptured all 17 prisoners who escaped from a prison in Theni district, ending a manhunt that lasted about 36 hours, according to the state police and reporting by BBC Asia.

The men escaped on Monday night after overpowering guards. Police say one prisoner feigned a seizure, and when a jail official responded, the cellmates overpowered him. The prisoners then reportedly attacked two other guards, took their keys and opened the main gate. Several prison personnel were injured. One escapee returned to the prison immediately.

Police say the prison held 334 inmates against a capacity of 200. At the time of the escape, only four guards were on duty. The state recommends a guard-to-inmate ratio of 1:6, which police say would require 34 guards for 200 prisoners. Police have suspended nine staff members for alleged negligence.

Tamil Nadu Director General of Police for Prisons Sandeep Rathore called the breach "human error" and said the prisoners passed a three-tier security barrier. He was replaced as head of state prisons on Thursday. Police sources told BBC Tamil they are examining possible collusion between some prison officials and the escaped men. Rathore said all prisons in the state will be audited.

Police used drone surveillance, CCTV analysis and special teams in the search. Four men were arrested at a bus station in a nearby village, and another was caught in a tuk-tuk. Drones helped locate eight men in a forest near the prison and two more later. The last two surrendered on Wednesday. All 17 have been moved to high-security correctional prisons, according to the news agency PTI.

All the escapees were undertrial prisoners, meaning they were awaiting trial or still on trial. The BBC report cites India's National Crime Records Bureau, which reported a national prison occupancy rate of 120.1% in its 2023 report. It also cites data showing undertrial prisoners make up more than 73% of India's prison population.