The move comes a day after the Yemeni Prime Minister issued a public plea for funds to prop up the country's currency, Rial, and help stave off hunger in the war-torn nation.

Saudi Arabia's King Salman on Wednesday ordered a deposit of $2 billion in Yemen's central bank to shore up the weak Yemeni currency, Rial, the Saudi government said.

The move was made a day after the Yemeni Prime Minister issued a public plea for funds to prop up the Yemeni currency and help stave off hunger in the war-torn country.

“It's not a loan, it's a deposit and the legitimate Yemeni government will not have to pay it back,” a source close to the Saudi government said.

Three years of civil war

Yemen has been divided by nearly three years of civil war between the internationally recognised government, backed by Riyadh, based in the south, and the Iran-aligned Houthi movement, which controls the north, including capital Sanaa.

The Rial, has lost more than half its value against the U.S. dollar and soaring prices have put some basic commodities out of reach of many Yemenis.

Based in the southern port city of Aden, Yemen's Central Bank has struggled to pay public sector salaries on which many Yemenis depend amid dwindling foreign exchange reserves.

The conflict has unleashed a humanitarian and economic crisis on the impoverished country. A deadly cholera epidemic erupted last year, and the United Nations has said that Yemen could face one of the deadliest famines of modern times.

“Saving the Rial means saving Yemenis from inevitable hunger,” Prime Minister Ahmed bin Daghr said on Wednesday.