Iranians are going to the polls to elect a new president, following the death in May of the former incumbent, Ebrahim Raisi.
However, the supreme leader, Ayatollah Ali Khamenei, is the person who really wields power in Iran.
No candidate won more than 50% of the vote in Friday's poll, so there will be a run-off election on 5 July.
Hardline candidate Saeed Jalili and rival Massoud Pezeshkian, who is seen as reformist, both failed to secure a majority in the presidential race. Mr Pezeshkian was narrowly ahead, with each man receiving about 40% of the vote.
There are 61.5 million eligible voters in a population of almost 90 million.
The vote is to replace the hardliner Mr Raisi, who died on 19 May when the helicopter he was in crashed into a mountain in fog.
The presidential candidates were heavily vetted, and many major politicians were barred from the race. Only six people were allowed to run, and two of those dropped out the day before the election.
Mr Jalili, is a conservative and former international negotiator, and 69-year-old heart surgeon Mr Pezeshkian is a reformist who opposes the Islamic Republic's strict dress codes for women. He wants to bring an end to Western sanctions on Iran by making a new deal over its nuclear programme.
The supreme leader called for a high turnout in the elections but only about 40% of people voted, the fewest since the 1979 Islamic revolution.
Turnout hit record lows in parliamentary elections in March and in the last presidential election in 2021.
![](https://i.ytimg.com/vi/gOZOX9tpQ-E/maxresdefault.jpg)