Greek Prime Minister Alexis Tsipras has triumphantly told his people that the country has "sent a message of democracy", after the embattled nation's government finally agreed a deal with creditors which will unlock three years of funding.
In an official statement this afternoon, Tsipras said that although the new measures, which took 17 hours to negotiate, will be "difficult to implement", he believed a "large majority of the Greek people will support the effort to return to growth".
"They acknowledge that we fought for a just cause, we fought until the end, we have been negotiating through the night, and no matter what the burdens will be, they will be allocated - we guarantee this - with social justice," he added.
Later, the International Monetary Fund (IMF), whose involvement in the deal had been questioned by Greece, said it was prepared to work towards creating growth.
The deal, under which the Greek government will be required to ramp up its privatisation programme and "mobilise" €35bn to help the country to return to growth, still does not lock down bailout funding. In the creditors' document, they said they expected Greece to require financing of between €82-86bn.
Tsipras now faces the challenge of passing the deal in parliament - a tough task considering Greek voters' overwhelming reaction against further austerity in the referendum last week.
In media interviews on the steps of the European parliament following the negotiations, Tsipras said his major achievements during the marathon talks had been avoiding the transfer of assets abroad, and winning mid-term funding and debt relief.
In a sign of just how emotional the talks had become, French President Francois Hollande embraced Tsipras before he got into his car.
This morning European Council president Donald Tusk confirmed the deal, adding: "Some could say we have an a-Greek-ment".
The FTSE 100 was 0.6 per cent higher at lunchtime, although the euro dipped 1.08 per cent against the dollar to $1.1042.
Meanwhile, the Dax leaped 1.4 per cent, while the Cac rose almost two per cent.
Some commentators suggested that at 17 hours, the meeting was the longest-ever summit.
Well, if nothing else has been achieved, at least they now hold the record for the longest summit ever. Well done, everyone! 🎉🎉🎉— Jess Brammar (@jessbrammar) July 13, 2015