President Hassan Rouhani and his allies won big gains in elections that could deepen Iran's engagement with the world after his government ended years of sanctions by agreeing to curb its nuclear programme.
The outcome in the results for Tehran on Monday was a blow to the conservative Islamic establishment, although it retains decisive power due to Iran's unwieldy dual system of clerical and republican rule.
Most of the lawmakers who did not make it to the new parliament strongly opposed the nuclear deal, including Mehdi Koochakzadeh, who called Foreign Minister Mohammad Javad Zarif "a traitor", and Roohollah Hosseinian, who threatened to bury the negotiators under cement for agreeing to concessions to world powers.
"This election can be a turning point in the history of the Islamic Republic," said an editorial in reformist newspaper Mardom-Salari, whose managing editor, Mostafa Kavakebian, won a parliamentary seat in Tehran.
"The biggest achievement of this election is the return of reformists to the ruling system ... so they won't be called seditionists or infiltrators anymore," he said, referring to hardliners who accused reformists of links to the West.
Rouhani and allied centrists and reformers won 15 out of the 16 Tehran seats in the 88-member Assembly of Experts, which is tasked with choosing the country's next supreme leader, final election results for Tehran showed.
Two prominent conservatives, including the speaker of the powerful clerical body, were among those ousted in the capital.
Candidates on the reformist list also took all 30 parliamentary seats in the Tehran constituency, up from just two previously, final results released by Interior Minister Abdolreza Rahmani Fazli showed.
Beyond the capital, their gains were more limited, with conservatives keeping hold of many seats in both bodies.
The twin polls, for the assembly and parliament, were seen by analysts as a crucial moment for Iran after years of isolation, and a vote of confidence in Rouhani's government and his detente policy with the West.
KEY CONSERVATIVES OUT
"It was a healthy, legal and very good election," Fazli said. He said turnout was 62 percent and there had been very few irregularities.
In his first comment since the polls, Iran's deeply anti-Western Supreme Leader Ayatollah Ali Khamenei praised the high turnout. He made no direct comment on the results but suggested the newly elected bodies should not be influenced by the West.
The hardline chairman of the Assembly of Experts, Mohammad Yazdi, lost his seat. So did Mohammad-Taghi Mesbah-Yazdi, an arch-conservative who was widely seen as the spiritual mentor to former conservative president Mahmoud Ahmadinejad.
A prominent exception was Ahmad Jannati, who squeezed in at 16th place. Jannati is also the chairman of the Guardian Council, a cleric vetting body that disqualified the majority of reformist candidates from running for the elections.
Leading conservative lawmakers who opposed Iran's new oil and gas contracts aimed at attracting foreign investment and economic reforms proposed by Rouhani's government, also lost their seats, according to final results.
That opens the way for changes to economic policy that will boost foreign investment and trade with the West, businessmen and analysts said.
BOOST FOR TRADE, INVESTMENT
The outgoing parliament had acted as a brake on Rouhani's plans to strengthen the private sector, tackle corruption and welcome foreign investors.
"In economic affairs the next parliament will be much better than the current parliament," said economist Saeed Leylaz, once an advisor to reformist former president Mohammad Khatami.
Khatami issued a statement praising Iranians for the result and asking the new lawmakers to push for economic development and more political freedom.
Hossein Shariatmadari, editor-in-chief of Kayhan, a newspaper closely associated with Khamenei, accused reformists of trying to create what he called an "illusion of a victory".
"The structure of the Iran's ruling system is such that no political faction can change the main policies rooted in its core principles. People's vote is limited to the responsibility they have been given in the constitution," Shariatmadari wrote.
Iran's political system places significant power in the hands of the conservative Islamic establishment including the Guardian Council, which vets all laws passed by parliament.
A Reuters tally of official results published so far suggested a strong showing by the Rouhani camp and independents with candidates on the reformist list taking 30 percent of the seats, conservatives 40 percent, independents 17 and seats that require runoff contests 13 percent.
Pro-reform lawmakers were less than 10 percent of the outgoing chamber.
Analysts say the large number of independents may be significant as they could cooperate across ideological lines with Rouhani's government.
There will have to be run-off contests for 34 seats in late April because no one won the required 25 percent of votes cast. More than a dozen of the initial winners in those contests were women.