The International Monetary Fund (IMF) has approved loans of $4.7 billion to Bangladesh for disbursal starting immediately, making it the first to secure such funds out of three South Asian countries that applied last year amid economic trouble.

The loans are a win for Prime Minister Sheikh Hasina ahead of a general election early next year and will help the country, which has seen a sharp widening of its current account deficit, depreciation of the taka currency and a decline in its foreign exchange reserves.

Bangladesh will get about $3.3 billion under the IMF’s extended credit facility and related arrangements, with an immediate disbursement of about $476 million. The IMF executive board also approved about $1.4 billion under its newly created Resilience and Sustainability Facility for climate investments for Bangladesh, the first Asian country to access it.

The IMF said the loans will “protect macroeconomic stability and rebuild buffers, while helping to advance the authorities’ reform agenda”. The agenda includes creating fiscal space to enable greater social and developmental spending, strengthening Bangladesh’s financial sector, boosting fiscal and governance reforms and building climate resilience.