ARTICLE AD BOX
The head of Iran's prison service has apologised after hackers leaked videos showing the abuse of detainees at Tehran's notorious Evin prison.
The hackers released security footage in which guards are seen beating prisoners and dragging one on a floor.
On Tuesday, Prisons Organisation chief Mohammad Mehdi Haj-Mohammadi said he took responsibility for the "unacceptable behaviour".
Many political prisoners and dual and foreign nationals are held at Evin.
BBC Persian's Jiyar Gol says the leaked videos confirm decades of reports of mistreatment and abuse at prisons across Iran.
However, our correspondent adds, former political prisoners say the footage is nothing compared to what they experienced in detention. They accuse authorities of routinely using sexual, physical and psychological torture - a charge Iran's government denies.
The surveillance footage released by a hacking group called Edalat-e Ali (Ali's Justice) shows several guards beating a man in handcuffs, as well as a fight between a guard and another man in uniform.
In another video, an elderly man is seen collapsing in a car park before guards approach and begin dragging him along the floor through the prison. At one point, a Muslim cleric steps over the man as he lies in a stairwell.
Other footage shows guards at Evin's control room reacting as the phrase "cyber-attack" appears in Persian on screens in front of them.
The hacked screens also show a message reading: "Evin Prison is a stain of shame on Raisi's black turban and white beard" - a reference to Iran's new president, who is a hardline cleric and former judiciary chief.
On Tuesday, Mr Haj-Mohammadi apologised publicly to Supreme Leader Ayatollah Ali Khamenei and the country for the abuses seen in the videos.
"I accept responsibility for such unacceptable behaviour and pledge to try to prevent any repeat of these bitter events and to deal seriously with the wrongdoers," he tweeted.