(Bloomberg) -- Turkey’s economy outperformed all but one major competitor in the final quarter, as rate cuts and a spending-and-credit binge beat back pandemic restrictions even as the lira collapsed.

Gross domestic product rose 5.9% from a year earlier, more than all G-20 nations except China. The median of 20 forecasts in a Bloomberg survey was for 6.9% growth. The seasonally and working day-adjusted figures showed an expansion of 1.7% in the last quarter from the previous three months. The economy grew 1.8% in 2020.

The growth push weakened the currency by 20% in 2020 and kept headline inflation in double digits for the entire year. The data expose the challenge facing central bank Governor Naci Agbal as he looks to cool growth and restore price stability without triggering a steep slowdown in activity and a jump in unemployment.

The government had pushed banks to ramp up lending to help businesses and consumers ride out the Covid emergency. The credit boom was coupled with a front-loaded easing cycle that helped prime the economy.

Agbal raised the benchmark interest rate by a cumulative 675 basis points to 17% following his appointment in November, signaling a return to more market-friendly monetary policy. The lira has strengthened 15% since his appointment.

The International Monetary Fund raised its growth forecast for Turkey’s economy to 6% in 2021 amid the coronavirus vaccine rollout, while warning the pandemic response worsened pre-existing financial risks despite leading to a strong rebound in economic activity.

“With some stability in the currency market, Turkish exporters can finally enjoy the price competitiveness accumulated over recent years,” said JPMorgan Chase & Co.’s London-based analyst Yarkin Cebeci. “Depending on the pace of vaccinations, tourism will most probably be stronger than last year as well.”

©2021 Bloomberg L.P.