Greece bailout sealed by Eurozone leaders with reform pledge by Athens
Eurozone leaders have unanimously agreed on a new bailout deal for Greece which includes "serious reforms" and "financial support".
European Union president Donald Tusk said the deal could pave the way for Greece to remain a member of the euro.
Details of the agreement between Greece and its creditors have yet to emerge.
The Greek government made a request last week for a three-year, 53.5 billion euro (£38.5 billion) financial rescue from Europe's bailout fund.
During negotiations that stretched beyond a weekend deadline into Monday morning, Its creditors indicated that Greece will need tens of billions more to stay solvent.
Greece's economy is in freefall and its banks are facing collapse.
Nine hours after a self-imposed deadline passed, the leaders announced the breakthrough early on Monday.
If the talks had failed, Greece could have faced bankruptcy and a possible exit from the euro, the European single currency that the country has been a part of since 2002.
No country has ever left the joint currency, which launched in 1999, and there is no mechanism in place for one to do so.
For three days of negotiations between Greece and its international creditors, Greek prime minister Alexis Tsipras held out for a better deal to sell to his reluctant legislature in Athens this week, even though financial collapse is getting closer by the day.
A breakthrough came in a meeting between Mr Tsipras, German chancellor Angela Merkel, French president Francois Hollande and EU president Donald Tusk.
The breakthrough came after the threat of expulsion from the euro put intense pressure on Mr Tsipras to swallow politically unpalatable austerity measures because his people overwhelmingly want to stay in the eurozone.
Greece's creditors are demanding tough austerity measures in exchange for its third bailout in five years.
Earlier, a Greek official said the key sticking points were the involvement of the International Monetary Fund in Greece's bailout program and a proposal that Greece set aside 50 billion euro (£36 billion) of state-owned assets in a fund for eventual privatisation.
The official said any agreement would provide quick help for Greek banks from the European Central Bank. Without it, they risk running out of money this week.
The negotiations began on Saturday with a meeting of finance ministers. The heads of state convened mid-afternoon on Sunday and were still negotiating at dawn Monday.
The deal on the table appeared to include commitments from Mr Tsipras to push a drastic austerity programme including pension, market and privatisation reforms through parliament by Wednesday, and from the 18 other eurozone leaders to start talks on a new bailout.
Sunday's four-page discussion paper put to eurozone leaders spoke of a potential "time-out from the euro area" for Greece if no agreement could be found.
It highlighted the increasing frustration of European leaders during five months of fruitless talks with Greece.
"The most important currency has been lost: that is trust and reliability," Ms Merkel said.
Mr Tsipras insisted his government was ready to clinch a deal.
"We owe that to the peoples of Europe who want Europe united and not divided," he said. "We can reach an agreement tonight if all parties want it."
Mr Hollande insisted it was vital to keep Greece in the euro and said in the event of a departure, "it's Europe that would go backward. And that I do not want".
Greece has received two previous bailouts, totalling 240 billion euro (£172 billion), in return for deep spending cuts, tax increases and reforms from successive governments.
Although the country's annual budget deficit has come down dramatically, Greece's debt burden has increased as the economy has shrunk by a quarter.
The Greek government has made getting some form of debt relief a priority and hopes that a comprehensive solution will involve European creditors at least agreeing to delayed repayments or lower interest rates.
Greek debt stands at around 320 billion euro (£230 billion) - a staggering 180% or so of the country's annual gross domestic product.
Few economists think that debt will ever be fully repaid. Last week, the International Monetary Fund said Greece's debt will need to be restructured.
Belfast Telegraph Digital