DUBAI, United Arab Emirates — Reformist candidate Masoud Pezeshkian won Iran’s runoff presidential election Saturday, topping hard-liner Saeed Jalili by promising to reach out to the West and ease enforcement on the country’s mandatory headscarf law after years of sanctions and protests squeezing the Islamic Republic.

Pezeshkian promised no radical changes to Iran’s Shiite theocracy in his campaign and long has held Supreme Leader Ayatollah Ali Khamenei as the final arbiter of all matters of state in the country.

But even Pezeshkian’s modest aims will be challenged by an Iranian government still largely held by hard-liners, the ongoing Israel-Hamas war in the Gaza Strip and Western fears over Tehran enriching uranium to near-weapons-grade levels with enough of a stockpile to produce several nuclear weapons if it chose.

A vote count offered by authorities put Pezeshkian as the winner with 16.3 million votes to Jalili’s 13.5 million in Friday’s election. Iran’s Interior Ministry said 30 million people voted in an election held without internationally recognized monitors, representing a turnout of 49.6% — higher than the historic low of the June 28 first round vote but lower than other presidential races.

Supporters of Pezeshkian, a heart surgeon and longtime lawmaker, entered the streets of Tehran and other cities before dawn to celebrate as his lead grew over Jalili, a hard-line former nuclear negotiator. Pezeshkian later traveled to the mausoleum of the late Grand Ayatollah Ruhollah Khomeini, the leader of the 1979 Islamic Revolution, and addressed journalists in a chaotic event.

“In this election, I didn’t give you false promises. I did not lie,” Pezeshkian said. “It’s been many years after the revolution that we come to the podium, we make promises and we fail to fulfill them. This is the biggest problem we have.”

Pezeshkian’s win still sees Iran at a delicate moment, with tensions high in the Mideast and a looming election in the United States that could put any chance of a detente between Tehran and Washington at risk.

Pezeshkian’s victory also wasn’t a rout of Jalili, meaning he’ll have to navigate Iran’s internal politics as the doctor has never held a sensitive, high-level security post.

Government officials up to Khameni, the supreme leader, predicted higher turnout as voting got underway, with state television airing images of modest lines at some polling centers.

Authorities counted 607,575 voided votes — which often are a sign of protest by those who feel obligated to cast a ballot but reject both candidates.

Khamenei praised the turnout Saturday despite what he alleged was a boycott campaign “orchestrated by the enemies of the Iranian nation to induce despair and a feeling of hopelessness.”

“I would like to recommend Dr. Pezeshkian, the elected president, put his trust in God, the Compassionate, and set his vision on high, bright horizons,” Khamenei added.

Voters expressed a guarded optimism.

“I don’t expect anything from him — I am happy that the vote put the brake on hard-liners,” said bank employee Fatemeh Babaei, who voted for Pezeshkian. “I hope Pezeshkian can return administration to a way in which all people can feel there is a tomorrow.”

Taher Khalili, a Kurdish- origin Iranian who runs a small tailor shop in Tehran, offered another reason to be hopeful while handing out candy to passersby.

“In the end, someone from my hometown and the west of Iran came to power,” Khalili said. “I hope he will make economy better for small businesses.”

Pezeshkian, who speaks Azeri, Farsi and Kurdish, campaigned on outreach to Iran’s many ethnicities. He represents the first president from western Iran in decades — something people hope will aid the country as those in the western part are considered more tolerant because of the ethnic and religious diversity in their area.