The state of human rights in Iran has been criticized both by Iranians and international human rights activists, writers, and NGOs since long before the formation of the current state of Iran. The United Nations General Assembly and the Human Rights Commission have condemned prior and ongoing abuses in Iran in published critiques and several resolutions. The government of Iran is criticized both for restrictions and punishments that follow the Islamic Republic's constitution and law, and for actions that do not, such as the torture, rape, and killing of political prisoners, and the beatings and killings of dissidents and other civilians.
While the monarchy under the rule of the shahs had a generally abysmal human rights record according to most Western watchdog organizations, the current Islamic Republic does not have a positive reputation either, with its human rights record under the administration of President Mahmoud Ahmadinejad considered to have "deteriorated markedly," according to Human Rights Watch. Following the 2009 election protests there were reports of killing of demonstrators, the torture, rape and killing of detained protesters, and the arrest and publicized mass trials of dozens of prominent opposition figures in which defendants "read confessions that bore every sign of being coerced." In October 2012 the United Nations human rights office stated Iranian authorities had engaged in a “severe clampdown” on journalists and human rights advocates.
Restrictions and punishments in the Islamic Republic of Iran which violate international human rights norms include harsh penalties for crimes, punishment of "victimless crimes" such as fornication and homosexuality, execution of offenders under 18 years of age, restrictions on freedom of speech and the press (including the imprisonment of journalists and political cartoonists), and restrictions on freedom of religion and gender equality in the Islamic Republic's Constitution (especially attacks on members of the Bahá'í religion). Reported abuses falling outside of the laws of the Islamic Republic that have been condemned include the execution of thousands of political prisoners in 1988, and the widespread use of torture to extract repudiations by prisoners of their cause and comrades on video for propaganda purposes. Also condemned has been firebombings of newspaper offices and attacks on political protesters by "quasi-official organs of repression," particularly "Hezbollah," and the murder of dozens of government opponents in the 1990s, allegedly by "rogue elements" of the government.