Iran's prosecutor general says the confessions by those arrested over their alleged role in the country's post-election unrest were not extracted through illegal measures, Press TV reported.
"As long as we were present in the detention centers, we cannot say that the confessions were made in violation of legal and conventional proceedings," IRNA quoted Qorban-Ali Dorri-Najafabadi as saying on Thursday.
Najafabadi, however, said that the confessions will not provide the sole basis for the prosecution of the suspects.
"The judicial system will base its ruling on the suspects' files and the evidence presented at courts," he said.
Two prominent Iranian detainees, Mohammad-Ali Abtahi and Mohammad Atrianfar had earlier dismissed claims that their confessions had been extracted under pressure.
Iran's presidential vote, which led to the re-election of Mahmoud Ahmadinejad as president, was followed by massive protests by supporters of defeated candidates Mir-Hossein Mousavi and Mehdi Karroubi who rejected the election as "fraudulent".
Thousands were detained in the aftermath of the vote. Many of them have since been released. A group of those still in custody will stand trial on Saturday morning.