Moody’s Ratings said Thursday that it upgraded Argentina’s credit rating by two notches to Caa1 with a stable outlook as the economy rebounds following a six-year financial crisis.

Moody’s cited a series of reasons for the upgrade, including the government’s decision in April to liberalize exchange and capital controls after securing a new $20 billion loan program with the International Monetary Fund. The move has boosted the availability of hard currency in the country and reduced the pressure on external finances, Moody’s said.

“This reduces the likelihood of a credit event,” it added.

The agency said the ongoing relaxation of exchange controls and the transition to a more open capital account are the first steps for the country to get on top its external debt payments. Argentina has defaulted on its bonds nine times, most recently on more than $100 billion in 2019 and 2020.

At the same time, by taming inflation — it slowed to 39.4% in June from nearly 300% a year earlier — and turning a perennial fiscal deficit into a surplus, coupled with several economic reforms, the authorities should attract more investment into the real economy, Moody’s added.

There still are causes for concern, such as weak external buffers and structural impediments to investment that could play against the government’s progress, it said.

“Downside risks stem from the removal of the remaining capital and exchange controls which could re-ignite macroeconomic imbalances that jeopardize balance of payments sustainability,” the agency said.

Still, the reviving economy — it is poised to grow by 4% this year after a two-year recession, according to Moody’s — should help President Javier Milei strengthen his political mandate in the October 26 midterm congressional elections, paving the way for further economic reforms, it added.

ON THE SIDELINES, FOR NOW

In May, Jaime Reusche, a senior credit officer at Moody’s, said an influx of money from the IMF and other lenders has gained Argentina breathing room in its financing needs, allowing it to wait for global interest rates to decline before ending its long absence from the international bond market.

The fresh financing has increased foreign reserves to nearly $40 billion from a most recent low of $24 billion in April, just before the IMF loan was announced.

Milei has said he wants Argentina to return to the international bond market, but said the sovereign’s risk premium must first drop below 700 basis points. This premium — the spread over US Treasuries demanded by investors for holding the country’s bonds — is now at 748 points.

Fitch raised Argentina’s credit rating by one notch to CCC+ in May, following an upgrade to CCC last November.