Iranians are voting to elect a new president, with all but one of the four candidates to succeed Hassan Rouhani regarded as hardliners.
Opinion polls suggest Ebrahim Raisi, a conservative Shia cleric who heads the judiciary, is the clear favourite. Moderate former central bank governor Abdolnasser Hemmati is his main rival.
Dissidents and some reformists have called for a boycott, saying the barring of several contenders left 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 U.S. 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.
Rouhani, a moderate who sought to engage with the West, cannot stand for re-election because he has served two consecutive four-year terms.
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, 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.
Jalili and Zakani, who are hardliners, both endorsed Raisi, while Mehralizadeh said he wanted to "unify" the reformist vote - an apparent endorsement for Hammati.
If no candidate wins more than 50% of the vote in the first round there will be a run-off election.
The 60-year-old cleric Ebrahim Raisi 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 Rouhani in the last election.
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 Abdolnasser Hemmati 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 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 U.S. sanctions on Iran's currency, whose value has plummeted.
The 66-year-old hardliner Mohsen Rezai 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 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.
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 U.S. to return to compliance with the 2015 nuclear agreement and have the key U.S. sanctions lifted. The hardliners were never happy with the deal in the first place.
About 59 million people are eligible to vote in Iran, which has a population of 80 million, BBC reported.
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 legitimacy.