Reformist-backed cleric Hassan Rouhani has won Iran’s presidential election, securing just over 50% of the vote and so avoiding the need for a run-off.
Crowds gathered in Tehran to hail Mr Rouhani, who said he had achieved a “victory of moderation over extremism”.
Some 72.2% of the 50 million eligible Iranian voters cast ballots to choose the successor to Mahmoud Ahmadinejad.
The US said it was “ready to engage directly” with Iran over its disputed nuclear programme.
Supreme Leader Ayatollah Ali Khamenei congratulated Mr Rouhani on his victory.