The International Monetary Fund has agreed to lend Argentina up to $50bn (£37.2bn) as the country seeks to bolster its struggling economy.
The three-year agreement must still be approved by the IMF board.
Argentina, which has been plagued by economic problems for years, asked for assistance from the IMF on 8 May after its currency hit an all-time low.
The country has committed to tackle its double digit inflation and public spending as part of the deal.
“The [Argentine] authorities have indicated that they intend to draw on the first tranche of the arrangement, but subsequently treat the loan as precautionary,” the IMF said in a statement on Thursday.
Argentine President Mauricio Macri’s decision to ask the IMF for help was criticised by many within his country.
The IMF is widely loathed and blamed for Argentina’s 2001 economic collapse after it pulled the plug on the country and denied it financial support.
But Mr Macri had said previously a fresh loan from the Fund would allow his government to strengthen a programme of growth and development “giving us greater support to face this new global scenario and avoid crises like the ones we have had in our history”.
IMF managing director Christine Lagarde congratulated Argentine authorities on reaching the agreement.
“As we have stressed before, this is a plan owned and designed by the Argentine government, one aimed at strengthening the economy for the benefit of all Argentines,” Ms Lagarde said.
“I am pleased that we can contribute to this effort by providing our financial support, which will bolster market confidence, allowing the authorities time to address a range of long-standing vulnerabilities.”