Audio By Carbonatix
The International Monetary Fund's (IMF) board has given its approval for a $3bn (£2.3bn) bailout for Pakistan.
The crisis-hit nation will get about $1.2bn upfront, with the rest due to be paid out over the next nine months.
The South Asian nation was on the brink of defaulting on its debts and had barely enough in foreign currencies to pay for a month of imports.
This week, the country also received funds from allies Saudi Arabia and the United Arab Emirates (UAE).
Pakistan's Prime Minister Shehbaz Sharif said the bailout was a major step forward in efforts to stabilise the economy.
"It bolsters Pakistan's economic position to overcome immediate to medium-term economic challenges, giving next government the fiscal space to chart the way forward," he said.
The IMF deal came after eight months of tough negotiations over how to deal with serious long-term issues with Pakistan's ailing economy.

The country had been on the brink of being unable to meet debt repayments to creditors.
Much of the country was hit by devastating floods last year, which added to other major problems faced by the country, including high inflation and economic mismanagement by successive governments.
Saudi Arabia deposited $2bn with Pakistan's central bank on Tuesday, Pakistan's Finance Minister Ishaq Dar said.
On Wednesday, Mr Dar said the central bank had also received $1bn from the UAE.
The energy-rich Middle Eastern nations had pledged the money in April,but held off handing it over until it was certain that the IMF bailout would be finalised.
The IMF deal, along with the money from Saudi Arabia and the UAE, will unlock more funds to help support Pakistan's ailing economy.
Pakistan's foreign exchange reserves are expected to rise to around $15bn by the end of this month, Mr Dar has said.
On Monday, the credit rating agency Fitch upgraded Pakistan's sovereign rating, with the deal bringing some relief to investors in the country's stocks and bonds.
The heavily-indebted country's bonds have soared since the end of June, when the IMF gave preliminary approval for the bailout.
Mr Sharif's coalition government, which is due to face a national election this year, still has to make major spending cuts to meet the conditions of the bailout.
The cost of living has been soaring in Pakistan. The official annual rate of inflation currently stands at almost 30%.
Last month, the country's central bank raised its main interest rate to a record high of 22% as it struggled to curb rising prices.
This week's bailout is the latest in a long line of support Pakistan has received from the IMF. It has taken more than 20 loans from the international lender since 1958.
Latest Stories
-
Nearly half of Africans consider emigrating as jobs, poverty drive migration — Afrobarometer
8 minutes -
Nations FC drawn against FC Diarra in CAF Confederation Cup debut
10 minutes -
Osei-Asare urges Mahama to review Cocoa Board Bill, warns against misuse of parliamentary majority
11 minutes -
Government’s galamsey fight would make fallen helicopter crash victims proud – Paa Kwesi Schandorf
12 minutes -
DR Congo begins Ebola and cholera screening for 255 passengers after Congo River boat incident
13 minutes -
NPP presents petition to Supreme Court, Jubilee House over alleged arbitrary arrests, selective justice
17 minutes -
US Senate committee votes to hold Fauci in contempt over Covid hearing
20 minutes -
Empowering grassroots women for clean energy and Ghana’s sustainable future
21 minutes -
CAF Champions League: Medeama to face 5-time winners T.P Mazembe in preliminary round
25 minutes -
Ghana Navy boosts boat-handling capabilities through EU SWAIMS partnership
29 minutes -
Eight injured after Toyota Hiace somersaults on Tema–Akosombo highway
32 minutes -
Ghana EXIM Bank’s industrialisation strategy takes shape as Northshore Apparel Hub prepares for launch
47 minutes -
Africans reject choosing sides as China, US compete for influence – Afrobarometer
49 minutes -
Economic hardship pushing more Africans to consider leaving their countries – Afrobarometer report
52 minutes -
Only 13% of Africans have heard of AfCFTA as support for free trade surges to 62% – Afrobarometer
58 minutes