DUBAI, United Arab Emirates — Iran’s supreme leader on Sunday cautiously backed the government’s decision to raise gasoline prices by 50% after days of widespread protests, calling those who attacked public property during demonstrations “thugs” and signaling that a potential crackdown loomed.

The government shut down internet access across the nation of 80 million people to staunch demonstrations that took place in a reported 100 cities and towns. That made it increasingly difficult to gauge whether unrest continued.

Images published by state and semiofficial media showed the scale of the damage in images of burned gas stations and banks, torched vehicles and roadways littered with debris.

Since the price hike, demonstrators have abandoned cars along major highways and joined mass protests in the capital, Tehran, and elsewhere. Some protests turned violent, with demonstrators setting fires as gunfire rang out.

Iranian authorities on Sunday raised the official death toll in the violence to at least three. Attackers targeting a police station in the western city of Kermanshah on Saturday killed an officer, the state-run IRNA news agency reported Sunday. A lawmaker said another person was killed in a suburb of Tehran. Earlier, one man was reported killed Friday in Sirjan, a city about 500 miles southeast of Tehran.

In an address aired Sunday by state television, Ayatollah Ali Khamenei said “some lost their lives and some places were destroyed,” without elaborating. He called the protesters “thugs” who had been pushed into violence by counterrevolutionaries and foreign enemies of Iran.

Khamenei specifically named those aligned with the family of Iran’s late shah, ousted 40 years ago, and an exile group called the Mujahedeen-e-Khalq. The MEK calls for the overthrow of Iran’s government and enjoys the support of President Donald Trump’s personal lawyer, Rudy Giuliani.

“Setting a bank on fire is not an act done by the people. This is what thugs do,” Khamenei said.

The supreme leader carefully backed the decision of Iran’s relatively moderate President Hassan Rouhani and others to raise gasoline prices. While Khamenei dictates the country’s nuclear policy amid tensions with the U.S. over its unraveling 2015 accord with world powers, he made a point to say he wasn’t an “expert” on the gasoline subsidies.

Khamenei ordered security forces “to implement their tasks” and for Iran’s citizens to keep clear of violent demonstrators. Iran’s Intelligence Ministry said the “key perpetrators of the past two days’ riot have been identified and proper action is ongoing.”

That seemed to indicate a crackdown could be looming. Economic protests in 2017 and 2018, as well as those surrounding its disputed 2009 presidential election, were met with a heavy reaction by the police and the Basij, the all-volunteer force of Iran’s paramilitary Revolutionary Guard.

The semiofficial Fars news agency put the total number of protesters at over 87,000, saying demonstrators ransacked some 100 banks and stores in the country. Authorities arrested about 1,000 people, Fars reported, citing unnamed security officials for the information.