Iran country profile
Iran became an Islamic republic in 1979, when the monarchy was overthrown and clerics assumed political control under supreme leader Ayatollah Khomeini.
The Iranian revolution put an end to the rule of the Shah, who had alienated powerful religious, political and popular forces with a programme of modernisation and Westernisation, coupled with heavy repression of dissent.
Persia, as Iran was known before 1935, was one of the greatest empires of the ancient world, and the country has long maintained a distinct cultural identity within the Islamic world by retaining its own language and adhering to the Shia interpretation of Islam.
Islamic Republic of Iran
Population 80 million
Area 1.65 million sq km (636,313 sq miles)
Major language Persian
Major religion Islam
Life expectancy 75 years (men), 77 years (women)
Supreme Leader: Ayatollah Ali Khamenei
The Supreme Leader - the highest power in the land - appoints the heads of the judiciary, military and media. He also confirms the election of the president.
Ayatollah Ali Khamenei was appointed for life in June 1989, succeeding Ayatollah Khomeini, the founder of the Islamic republic. He previously served two consecutive terms as president in the 1980s.
Iran has been led by a highly conservative clerical elite since the revolution in 1979.
President: Hassan Rouhani
Hassan Rouhani won a resounding re-election victory in May 2017 as voters overwhelmingly backed his efforts to reach out to the world and rebuild the struggling economy.
Rouhani, who is regarded as a moderate, reformist figure, spearheaded the 2015 nuclear deal with world powers. He was elected in 2013.
The struggle for influence and power in Iran is played out in the media.
All broadcasting from Iranian soil is controlled by the state and reflects official ideology. A wider range of opinion may be found online and in the printed press.
However, many pro-reform outlets have been closed and their writers and editors imprisoned. Iran has been described by media freedom advocates as "among the five biggest prisons in the world" for journalists.
Some key dates in Iran's history:
1794 - Mohammad Khan Qajar seizes power and founds the Qajar dynasty.
1921 - Military commander Reza Khan seizes power and is later crowned Reza Shah Pahlavi.
1941 - Britain and Russia occupy Iran during Second World War.
1953 - Coup engineered by British and US intelligence services after parliament nationalises mainly British-owned oil industry. Shah, who had fled into exile, returns.
1979 - Iranian revolution unseats the shah.
1980-1988 - Iran-Iraq war.
2002 - US President George W. Bush describes Iran, Iraq and North Korea as "the axis of evil".
2004 - US says Iran's nuclear programme is a growing threat and calls for international sanctions.
2016 - International economic sanctions are lifted after the UN nuclear watchdog, the IAEA, confirms that Tehran had complied with its promises to scale back its nuclear activities.
2018 May-June - President Trump announces the US withdrawal from the 2015 international deal on Iran's nuclear programme. Iran in turn warns that it will begin increasing its uranium enrichment capacity if the deal collapses as a result of the US withdrawal.