DUBAI (Reuters) - Iranian Supreme Leader Ayatollah Ali Khamenei on Saturday called for “swift and just” legal action from new courts after the head of the judiciary said the country faced an “economic war”, state television reported.

FILE PHOTO: Iran's Supreme Leader Ayatollah Ali Khamenei delivers a speech during a ceremony marking the death anniversary of the founder of the Islamic Republic Ayatollah Ruhollah Khomeini, in Tehran, Iran, June 4, 2017. TIMA via REUTERS

The rial currency has lost about half of its value since April under the threat of revived U.S. sanctions, with heavy demand for dollars among ordinary Iranians trying to protect their savings.

The cost of living has also soared, sparking sporadic demonstrations against profiteering and corruption, with many protesters chanting anti-government slogans.

The central bank and the judiciary have blamed “enemies” for the fall of the currency and a rapid rise in the price of gold coins, and the judiciary has said more than 40 people including a former central bank deputy have been arrested on charges carrying the death penalty.

The judiciary has suggested that arch-foes the United States and Israel as well as regional rival Saudi Arabia and government opponents living in exile are fomenting the unrest.

“The current special economic conditions are considered an economic war,” judiciary chief Ayatollah Sadeq Amoli Larijani said in a letter to Khamenei, calling for the setting up of special courts to deal quickly with financial crimes, the television report said.

Khamenei agreed, saying: “The purpose (of the courts) should be to punish those guilty of corrupt economic practices swiftly and justly,” the TV added. “The courts should be advised to (ensure) the accuracy of their rulings.”

New Islamic revolutionary courts will be set up for two years and directed to impose maximum sentences on those “disrupting and corrupting the economy”, and appeal rights will be curbed, Amoli Larijani proposed in his letter, read on state television.

In May, the United States pulled out of a 2015 deal between world powers and Tehran under which international sanctions on Iran were lifted in return for curbs on its nuclear program.

Washington this week reimposed sanctions on Iran’s purchase of U.S. dollars, its trade in gold and precious metals and its dealings with metals, coal and industrial-related software.

The United States has told other countries they must halt imports of Iranian oil from early November or face U.S. financial measures.