(Bloomberg) -- Argentina’s economy slowed in the first quarter of the year as high inflation and borrowing costs sapped investment and demand, sparking a crisis in confidence that pushed the government to negotiate a record IMF credit line.

Gross domestic product rose 3.6 percent in the first quarter from a year earlier, higher than the median 3.5 percent estimate from 10 economists surveyed by Bloomberg. South America’s second-biggest economy expanded 1.1 percent from the last quarter of 2017, the national statistics agency said Tuesday.

The economy’s performance at the start of the year showed signs of the drag from international investor jitters that since March have shunned emerging markets’ assets. In Argentina, the economy swerved off track this spring, throttled by rising U.S. interest rates, credibility concerns and a widening budget deficit. The peso is down more than 32 percent this year, the worst performance among developing nations.

The turmoil forced President Mauricio Macri to ask for aid from the International Monetary Fund, which earlier this month granted Argentina a record $50 billion credit line. As part of the agreement, Macri’s administration will accelerate government spending cuts next year, a politically risky move as Macri seeks re-election.

Argentina will likely fall back into recession this year, according to government and private polls. The odds of a recession skyrocketed in May to 68.1 percent from 24.4 percent, according a poll from Torcuato Di Tella University. Most economists see a drop in gross domestic product for the second and third quarter of 2018, according to the central bank’s most recent survey of economists. Morgan Stanley, Goldman Sachs and other banks have also cut their 2018 growth forecasts for Argentina to 1.5 percent or lower.

--With assistance from Rafael Gayol.

To contact the reporter on this story: Patrick Gillespie in Buenos Aires at pgillespie29@bloomberg.net

To contact the editors responsible for this story: Vivianne Rodrigues at vrodrigues3@bloomberg.net, Robert Jameson

©2018 Bloomberg L.P.