Cairo: The Iranian town of Doroud should be a prosperous place — nestled in a valley at the junction of two rivers in the Zagros Mountains, it’s in an area rich in metals to be mined and stone to be quarried. Last year, a military factory on the outskirts of town unveiled production of an advanced model of tanks.

Yet local officials have been pleading for months for the government to rescue its stagnant economy. Unemployment is around 30 per cent, far above the official national rate of more than 12 per cent. Young people graduate and find no work. The local steel and cement factories stopped production long ago and their workers haven’t been paid for months. The military factory’s employees are mainly outsiders who live on its grounds, separate from the local economy.

“Unemployment is on an upward path,” Majid Kiyanpour, the local parliament representative for the town of 170,000, told Iranian media in August. “Unfortunately, the state is not paying attention.”

That’s a major reason Doroud has been a front line in the protests that have flared across Iran over the past week. Several thousand residents have been shown in online videos marching down Doroud’s main street, shouting, “Death to the dictator!”

At night, young men set fires outside the gates of the mayor’s office and hurl stones at banks. At least two people have been killed, reportedly when security forces opened fire. Overall, at least 21 people have died nationwide in the unrest so far.

Anger and frustration over the economy have been the main fuel for the eruption of protests that began on December 28. President Hassan Rouhani, a relative moderate, had promised that lifting most international sanctions under Iran’s landmark 2015 nuclear deal with the West would revive Iran’s long-suffering economy. But while the end of sanctions did open up a new influx of cash from increased oil exports, little has trickled down to the wider population. At the same time, Rouhani has enforced austerity policies that hit households hard.

Demonstrations have broken out mainly in dozens of smaller cities and towns such as Doroud, where unemployment has been most painful and where many in the working class feel ignored.

The working classes have long been a base of support for Iran’s hardliners. But protesters have turned their fury against the ruling clerics and the elite Revolutionary Guard, accusing them of monopolising the economy and soaking up the country’s wealth. Many protests have seen a startlingly overt rejection of Iran’s system of government by clerics. Under Iran’s Islamic republic, in place since the 1979 revolution, the cleric-led establishment has considerable power over elected bodies such as parliament and the presidency. At the top stands Supreme Leader Ayatollah Ali Khamenei, who has final say on all matters of state.

The initial spark for the protests was a sudden jump in food prices. It is believed that hard-line opponents of Rouhani instigated the first demonstrations in the conservative city of Mashhad in eastern Iran, trying to direct public anger at the president. But as protests spread from town to town, the backlash turned against the entire ruling class.

Further stoking the anger was the budget for the coming year that Rouhani unveiled in mid-December, calling for significant cuts in cash payouts established by Rouhani’s predecessor, hardliner Mahmoud Ahmadinejad, as a form of direct welfare. Since he came to office in 2013, Rouhani has been paring them back. The budget also envisaged a new jump in fuel prices.

But amid the cutbacks, the budget revealed large increases in funding for religious foundations that are a key part of the clerical state-above-the-state, which receive hundreds of millions of dollars each year from the public coffers. These foundations, including religious schools and charities, are tied closely to powerful clerics and often serve as machines for patronage and propaganda to build support for their authority.

As he announced the budget, Rouhani admitted his government had no say over large parts of the spending and complained about the lack of transparency over the funds going to the foundations.

“They just take money from us,” he said. “If we ask, ‘Where did you spend the money?’ they say: ‘It’s none of your business. We spend it where we like’.”

Rouhani’s economic programme has focused on trying to rein in government spending and build up the private sector and investment.

His policies have managed to pull inflation down from the high double-digits where it long stood, edging it back to 10 per cent last month.

After the lifting of most sanctions in early 2016, the economy saw a major boost — 13.4 per cent growth in the gross domestic product in 2016, compared to a 1.3 per cent contraction the year before, according to the World Bank. But almost all that growth was in the oil sector, where exports jumped from around 1 million barrels per day in 2015 to around 2.1 million barrels per day in 2017.

Growth outside the oil sector was at 3.3 per cent. Major foreign investment, which Rouhani touted as another benefit of opening to the world, has failed to materialise, in part because of continued US sanctions hampering access to international banking and the fear other sanctions could eventually return.

Iran’s official unemployment rate is at 12.4 per cent, and unemployment among the young — those 19 to 29 — has reached 28.8 per cent, according to the government-run Statistical Center of Iran.

The provinces “face more economic hardship”, wrote Brenda Shaffer, an adjunct professor at Georgetown University’s Center for Eurasian, Russian, and East European Studies. “Income levels and social services in the periphery are lower, unemployment rates are higher, and many residents suffer from extensive health and livelihood challenges emanating from ecological damage.”

The pain has been felt in the capital, Tehran, and other major cities as well. But there it’s been more cushioned within a large middle class. Many can ignore those picking through trash for food. However, in December 2016, Iranians including Rouhani expressed shock over a series of photographs in a local newspaper showing homeless drug addicts sleeping in open graves in Shahriar, on Tehran’s western outskirts.

“Things shouldn’t be so expensive that people have to cry out. It was because officials don’t care about people,” said one Tehran resident, Nasser Nazari, although he added that protests were not the way to react.