Eurozone finance ministers approved Friday a third bailout worth up to 86 billion euros to keep Greece in the single currency in return for an unprecedented package of reforms that Athens had previously rejected.
Earlier Friday, Greek lawmakers passed the accord following a bitter all-night debate on the conditions demanded by Athens' creditors which could alter many aspects of daily life.
"New loans of up to 86 billion euros ($96 billion) will be made available over the next three years to Greece," the European Commission said after six hours of talks in Brussels.
Commission head Jean-Claude Juncker said six months of negotiations with the left-wing government of Prime Minister Alexis Tsipras -- who won office in January opposed to the creditors' demands -- had been difficult and testing.
"Together, we have looked into the abyss. But today, I am glad to say that all sides have respected their commitments. Greece is living up to its ambitious reform commitments," Juncker said in a statement.
"The message of today's (meeting) is loud and clear: on this basis, Greece is and will irreversibly remain a member of the euro area."
A first disbursement for Greece next week will total 13 billion euros, helping cover a debt payment to the European Central Bank due on August 20.
Tsipras rode to power in January on a wave of popular anger against the tax hikes, spending cuts and reforms demanded by creditors in exchange for two previous bailouts costing 240 billion euros.
He said this austerity medicine had only damaged, not helped, an economy which emerged from six years of brutal recession in 2014.
A tired Euclid Tsakalotos, the Greek finance minister, emerged from Friday's meeting saying it was now up to his compatriots to forge ahead.
"Let's hope that the Greek people will be able to make the best of this deal, to make (the) best of the reforms and the ability to reform and mitigate any negative consequences that surely exist within it," Tsakalotos said in a statement.
- German minister cautiously optimistic -
Finance Minister Wolfgang Schaeuble of Germany, Europe's effective paymaster who has also been a hard taskmaster on the bailout, said "we want to seize this chance" to revive Greece's economy.
"We must remain at the same time cautious, because naturally it concerns large sums made available," he told a press conference.
Dutch Finance Minister Jeroen Dijsselbloem, who chaired the Eurogoup meeting, said ministers "welcomed the wide scope of policy measures (in the accord) which if implemented with determination will address the main challenges facing the Greek economy".
"We are confident that decisive and swift as possible implementation ... will allow the Greek economy to return to a sustainable growth path based on sound public finances, enhanced competitiveness, high employment and financial stability," he added.
Under the programme, Greece will have to balance its books to produce a primary budget surplus -- that is, before interest payments -- and take on a major privatisation programme to help reduce a debt mountain of some 320 billion euros.
The sale of state assets should produce more than 6 billion euros in the three years but the ultimate target is 50 billion euros, to recapitalise the banking system and reduce debt.
Dijsselbloem recognised that dealing with the debt was among the most important issues, especially for the International Monetary Fund which believes Greece cannot get back on its feet without some relief.
But Germany, Europe's paymaster, has been sceptical of, if not outright opposed to, any "haircut" or partial writedown that could potentially cost it and other holders of Greek debt billions of euros.
Dijsselbloem said the Eurogroup also opposed any "haircut" but was ready to consider other options, including longer maturities for the debt.
"The Eurogroup considers the continued programme involvement of the IMF as indispensable," he said in a statement.
IMF head Christine Lagarde participated in the meeting via a teleconference link and in a separate statement said the accord "is a very important step forward".
"However, I remain firmly of the view that Greece's debt has become unsustainable and that Greece cannot restore debt sustainability solely through actions on its own," she said.
"Thus, it is equally critical for medium and long-term debt sustainability that Greece's European partners make concrete commitments ... to provide significant debt relief, well beyond what has been considered so far."
Progress would allow the IMF to consider further support for Greece after a review of the programme, expected in October, she added.
- 'Prefer compromise to suicide' -
A third of MPs in Tsipras's radical-left party Syriza rebelled against him in Friday's vote and he only managed to push the deal through with the help of the opposition -- raising fresh speculation he will be forced to call early elections.
The accord goes far beyond economic management to include an extensive overhaul of Greece's health and social welfare systems plus its business practices and public administration.
Seemingly small details of daily life will also be affected by the new rules, from visits to the doctor to an extension of the expiry dates on pasteurised milk in the supermarkets.
Tsipras told parliament his government had "taken on the responsibility to continue the fight rather than commit suicide and then go running to other international forums saying it wasn't fair that we had to kill ourselves".