Iranians are voting to elect a new president, with all but one of the four candidates regarded as hardliners.
Opinion polls suggest Ebrahim Raisi, a conservative Shia cleric who heads the judiciary, is the clear favourite.
Mr Raisi is an ally of Iran’s supreme leader and has been touted as a future possible successor.
Dissidents and some reformists have called for a boycott, saying the barring of several contenders left Mr Raisi with no serious competition.
Supreme Leader Ayatollah Ali Khamenei cast his vote early on Friday morning in Tehran and encouraged people to go the polls.
“Each vote counts … come and vote and choose your president,” he said. “This is important for the future of your country,”
There is widespread discontent among Iranians at the economic hardship they have faced since the US abandoned a nuclear deal with Iran three years ago and reinstated crippling sanctions.
The elections coincide with the latest round of talks in Vienna between Iran and world powers that are aimed at reviving the accord, which saw Iran agree to limit its nuclear programme in return for sanctions relief.
Incumbent Hassan Rouhani, a moderate who sought to engage with the West, cannot stand for re-election because he has served two consecutive four-year terms.
Who approved the candidates?
Almost 600 hopefuls, including 40 women, registered for the election.
But in the end only seven men were approved last month by the 12 jurists and theologians on the hard-line Guardian Council, an unelected body that has the ultimate decision with regard to candidates’ qualifications.
Eshaq Jahangiri, Mr Rouhani’s first vice-president, and Ali Larijani, a conservative former speaker of parliament, were among the prominent candidates not allowed to run.
By Thursday, three of the approved candidates – Supreme National Security Council secretary Saeed Jalili, MP Alireza Zakani, and reformist former Vice-President Mohsen Mehralizadeh – had dropped out.
Mr Jalili and Mr Zakani, who are hardliners, both endorsed Mr Raisi, while Mr Mehralizadeh said he wanted to “unify” the reformist vote – an apparent endorsement for Mr Hammati.
If no candidate wins more than 50% of the vote in the first round there will be a run-off election.
Who’s in the race?
The 60-year-old cleric has served as a prosecutor for most of his career. He was appointed judiciary chief in 2019, two years after he lost by a landslide to Mr Rouhani in the last election.
Mr Raisi has presented himself as the best person to fight corruption and solve Iran’s economic problems.
However, many Iranians and human rights activists have expressed concern over his role in the mass executions of political prisoners in the 1980s.
The 64-year-old technocrat became governor of the Central Bank of Iran in 2018. He was dismissed from the position after becoming a candidate.
His appointments to prominent positions under Mr Rouhani and his hard-line processor, Mahmoud Ahmadinejad, are seen as evidence of his ability to work all factions in Iran.
But he faced criticism from the other candidates for failing to mitigate the effects of US sanctions on Iran’s currency, whose value has plummeted.
The 66-year-old hardliner is the secretary of the Expediency Council, which advises the Supreme Leader and has ultimate adjudicating power in disputes over legislation.
He was commander of the powerful Islamic Revolution Guard Corps (IRGC) during the 1980-88 Iran-Iraq war, and has run for the presidency three times since leaving the force.
Amirhossein Qazizadeh Hashemi
Amirhossein Qazizadeh Hashemi is an ear, nose and throat (ENT) surgeon who has been an MP since 2008 and first deputy speaker since this May.
The 50-year-old hardliner is the youngest of the candidates.
Firm grip on power
Analysis by Kasra Naji, BBC Persian
These elections are seen by many Iranians as a brazen power grab by the hardliners who seem to have decided that they can never win free and fair elections, judging by their past performance. With these elections, the hardliners will have all the centres of power in their control. But there will be a downside: greater dissatisfaction among a people already in desperate economic straits, and instability.
If Ebrahim Raisi becomes president, the hardliners will want to establish a puritanical system of Islamic government in the vision of the Supreme Leader, Ayatollah Ali Khamenei. This will bring in more controls on social activities, fewer freedoms and jobs for women, and tighter control of the social media and the press.
Under a hardline presidency, Iran would continue to have tense relations with the West. It would continue to push to extend Shia Islam and project power in the region with the help of the Islamic Revolutionary Guard Corps (IRGC) – a major armed, political and economic force in Iran – and its local proxies. Iran would want to cosy up to China in the hope of attracting hundreds of billions of dollars of Chinese investment.
The election of a hardline president might also adversely affect the current indirect talks between Iran and the US to return to compliance with the 2015 nuclear agreement and have the key US sanctions lifted. The hardliners were never happy with the deal in the first place.
Why is turnout important?
About 59 million people are eligible to vote in Iran, which has a population of 80 million.
Turnout for the last presidential poll in 2017 was 73%, but the most recent survey by the state-backed Iranian Students Polling Agency (ISPA) suggested that it could be only 42% on Friday.
That would be a historic low for any election in Iran since the 1979 Islamic Revolution and would pose a problem for Iran’s leaders, who see turnout as a sign of .imacy.
On Thursday, Mr Rouhani told Iranians not to let the “shortcomings of an institution or a group” stop them from voting – an apparent reference to the Guardian Council.
“For the time being, let’s not think about grievances tomorrow,” he said.