TEHRAN, Iran (AP) — Iranians began voting Friday in the country’s first presidential election since its nuclear deal with world powers, as incumbent Hassan Rouhani faced a staunch challenge from a hard-line opponent over his outreach to the West.

The election is largely viewed as a referendum on the 68-year-old cleric’s more moderate policies, which paved the way for the nuclear accord despite opposition from hard-liners.

Economic issues also will be on the minds of Iran’s over 56 million eligible voters as they head to more than 63,000 polling places across the country. The average Iranian has yet to see the benefits of the deal, which saw Iran limit its contested nuclear program in exchange for the lifting of some sanctions.

Supreme Leader Ayatollah Ali Khamenei, the most powerful man in Iran, symbolically cast the election’s first vote and called on Iranians to turn out in huge numbers for the poll.

“Elections are very important and the fate of the country is in the hands of all people,” he said.

Iranian women queue to vote for the presidential and municipal councils elections, in the city of Qom, south of the capital Tehran, Iran, Friday, May 19, 2017. (AP Photo/Ebrahim Noroozi)

Iranian women queue to vote for the presidential and municipal councils elections, in the city of Qom, south of the capital Tehran, Iran, Friday, May 19, 2017. (AP Photo/Ebrahim Noroozi)

After casting his ballot, Rouhani said whomever the voters elect as president should receive all of the nation’s support.

“Any candidate who is elected should be helped to accomplish this heavy responsibility,” Rouhani said. “Anyone who is elected must be helped from tomorrow with unity, happiness and joy.”

Rouhani has history on his side in the election. No incumbent president has failed to win re-election since 1981, when Khamenei became president himself.

That doesn’t mean it will be easy, however. Rouhani faces three challengers, the strongest among them hard-line cleric Ebrahim Raisi, 56.

Iranian presidential candidate Ebrahim Raisi greets his supporters during a campaign rally at Imam Khomeini Mosque in the capital Tehran on May 16, 2017. (AFP Photo/Atta Kenare)

Iranian presidential candidate Ebrahim Raisi greets his supporters during a campaign rally at Imam Khomeini Mosque in the capital Tehran on May 16, 2017. (AFP Photo/Atta Kenare)

Raisi, a law professor and former prosecutor who heads an influential religious charitable foundation with vast business holdings, is seen by many as close to Khamenei. Raisi has even been discussed as a possible successor to him, though Khamenei has stopped short of endorsing anyone.

Raisi won the support of two major clerical bodies and promised to boost welfare payments to the poor. His populist posture, anti-corruption rhetoric and get-tough reputation — bolstered by his alleged role condemning inmates to death during Iran’s 1988 mass execution of thousands of political prisoners — are likely to energize conservative rural and working-class voters.

Iranian voters queue at a polling station for the presidential and municipal council election in Tehran, Iran, Friday, May 19, 2017. (AP Photo/Vahid Salemi)

Iranian voters queue at a polling station for the presidential and municipal council election in Tehran, Iran, Friday, May 19, 2017. (AP Photo/Vahid Salemi)

Mostafa Hashemitaba, a pro-reform figure who previously ran for president in 2001, and Mostafa Mirsalim, a former culture minister, also remain in the race.

Iran’s political system combines conservative clerical oversight and state control over large parts of the economy with tightly regulated but still hotly contested elections for key government posts. All candidates for elected office must be vetted, a process that excludes anyone calling for radical change, along with most reformists. No woman has been approved to run for president.

Iranian President Hassan Rouhani gives an address at a campaign rally in the northeastern city of Mashhad on May 17, 2017. (AFP Photo/Behrouz Mehri)

Iranian President Hassan Rouhani gives an address at a campaign rally in the northeastern city of Mashhad on May 17, 2017. (AFP Photo/Behrouz Mehri)

The president of the Islamic Republic oversees a vast state bureaucracy, is charged with naming cabinet members and other officials to key posts, and plays a significant role in shaping both domestic and foreign policy. But he remains subordinate to the supreme leader, who is chosen by a clerical panel and has the ultimate say over all matters of state.

The race has heated emotions and pushed public discourse in Iran into areas typically untouched in the tightly controlled state media. That includes Rouhani openly criticizing hard-liners and Iran’s powerful Revolutionary Guard, a paramilitary force now involved in the war in Syria and the fight against Islamic State militants in neighboring Iraq. Rouhani also found himself surrounded by angry coal miners who beat and threw rocks at his armored SUV during a visit to a northern mine struck by an explosion earlier this month that killed at least 42 people.

Iranian president and candidate in the upcoming presidential elections Hassan Rouhani speaks during a campaign rally in the northwestern city of Ardabil on May 17, 2017. (AFP Photo/Behrouz Mehri)

Iranian president and candidate in the upcoming presidential elections Hassan Rouhani speaks during a campaign rally in the northwestern city of Ardabil on May 17, 2017. (AFP Photo/Behrouz Mehri)

But authorities worry about tempers rising too high, especially after the 2009 disputed re-election of former hard-line President Mahmoud Ahmadinejad that saw unrest, mass arrests and killings. Authorities barred Ahmadinejad from running in Friday’s election, and Khamenei days ago warned anyone fomenting unrest “will definitely be slapped in the face.”

That hasn’t stopped those at Rouhani rallies from shouting for the house-arrested leaders of the 2009’s Green Movement. Opposition websites have said Green Movement leaders Mir Hossein Mousavi and Mahdi Karroubi both have endorsed Rouhani against Raisi. Rouhani promised in his 2013 campaign to free the men, but that pledge so far remains unfulfilled.

Mohammad Khatami, another reformist who served as Iran’s president from 1997 to 2005, also has endorsed Rouhani.

Supporters of the two leading candidates honked, blared music and held pictures of the hopefuls out of car windows on the traffic-clogged and heavily policed streets of Tehran late into the night Thursday, ignored a ban on campaigning in the final 24 hours before the vote.

Voting is scheduled to run until 6 p.m., though Iran routinely extends voting for several hours in elections. Iranian authorities say they believe the vote will exceed a 70 percent turnout.

Copyright 2017 The Associated Press.