Moderate cleric Hassan Rohani has won Iran's presidential election with just over 50 percent of votes, state TV reported. 72 percent of the 50 million Iranians turned out to vote, said Interior Minister Mostafa Mohammad-Najjar.
The Saturday news was reported by the country's Interior Minister Mostafa Mohammad Najjar on state television.
"Mr Hassan Rohani ... got the absolute majority of votes and was elected as president," Najjar said.
The moderate cleric mastered a lead of 50.71 per cent (18,613,329 votes) which means Iran avoids another round of polls next week.
A few hours before the results were announced crowds began to gather near Rohani's headquarters in Tehran.
The supporters chanted slogans like "Long live reform, long live Rohani," according to a reporter at the scene.
Former Iranian President Ali Akbar Hashemi Rafsanjani, who was on the list of presidential candidates this year, but did not pass the selection of the Supervisory Board, said that the country has experienced the "most democratic election in the world."
The turnout on Friday was significant, with Iranians coming out from Tehran, to desert polling stations, to nomads' pastures - where people would wait in line for hours in the blazing sun. In fact, voting had to be prolonged by five hours to accommodate the big numbers showing up. This is believed in Iran to be a result of boycotts planned by the liberals having been cancelled in favor of battling those on the other side of the political spectrum.
There was a total of six candidates running in the 2013 presidential election. All the other candidates trailed far behind with Tehran's mayor Mohammad Baqer Qalibaf coming with 16.56 per cent (6,077,292 votes) and nuclear negotiator Saeed Jalili in the third place with 11.36 per cent (4,168,946 votes), according to preliminary results. Qalibaf and Jallili were coming in close to each other, in the second and third positions.
Jalili was said to occupy the middle ground between conservative and reformist candidates, with his Front of Islamic Revolution Stability. Jalili has been Iran's chief nuclear negotiator since 2007.
Ali Akbar Velayati, 67, who represents the conservative Islamic Coalition Party, was said to be Jalili's main rival in the race. He used to be minister of foreign affairs and is currently the foreign affairs advisor to Khamenei.
The remaining two candidates were closely affiliated with Iran's supreme leader, Ayatollah Khamenei.
Of the six, Rohani was considered to be the only true progressive, wanting to free political prisoners and rekindle relations with the West.
The last presidential elections of 2009 were marked by a wave of bitter protesting over a disputed outcome, with President Mahmoud Ahmadinejad being accused of rigging the election to stay in power for a second term. He is prevented by law from seeking a third one.
Despite this, there is an atmosphere of calm on the side of the ruling clerics, as opposition groups appear to be too fragmented or intimidated to have a repeat of 2009. Therefore, Rohani's victory (and he is the only cleric in the race) is not predicted to cause a big stir amongst the ruling elite.