KABUL, Afghanistan – The United Nations on Monday said that suspected Taliban detainees are routinely beaten and tortured in detention centers run by Afghanistan’s police and spy agency.

The U.N. said it based its findings on interviews conducted with 379 pretrial detainees and convicted prisoners at 47 detention centers in 22 provinces between October 2010 and August 2011.

The 74-page report said the interviews uncovered evidence of “the use of interrogation techniques that constitute torture under international law and crimes under Afghan law, as well as other forms of mistreatment.”

It said beating and torture was applied “systemically” in detention centers run by the National Directorate of Security, Afghanistan’s spy agency.

Forty-six percent of 273 detainees interviewed in the Afghan spy agency’s detention centers told U.N. interviewers that they had been subjected to different forms of torture while they were interrogated. The abuse often included sexual humiliation.

Beyond physical mistreatment, many prisoners also said they had been held beyond the maximum allowed by law and denied family visits, the report said.

“Electric shock, twisting and wrenching of detainees’ genitals, stress positions including forced standing, removal of toenails and threatened sexual abuse were among other forms of torture that detainees reported,” the report said.

The U.N. said it had taken into consideration Afghan government concerns that prisoners might lie about their treatment to discredit the police and security forces.

Afghanistan’s interior minister, Bismillah Khan Mohammedi, head of the National Security Directorate, denied the allegations last month when word of the report’s likely findings were leaked, saying the Afghan government “made sure human rights are respected and prisoners are not mistreated.”

But the U.S.-led International Security Assistance Force last month stopped transferring detainees to Afghan detention facilities and is now negotiating with the Afghan government ways to monitor the treatment of detainees in Afghan custody. It is a violation of international law for one country to surrender a prisoner to another if it is likely that prisoner will be tortured.