The countries that use the euro pulled Greece back from an imminent and potentially catastrophic default on Tuesday, when they finally stitched together a euro130 billion ($170 billion) rescue they hope will also provide a lifeline to their common currency. But the patchwork of measures - including the implementation of austerity measures in Greece and approval by skeptical German and Dutch Parliaments - required to give the rescue even a chance of success means it's unlikely to be the end of the continent's debt crisis. European markets edged lower, having enjoyed solid gains in the run-up to the meeting on expectations a deal would be secured, while the euro rose 0.2 percent. The finance ministers from Greece and the other 16 countries that use the euro wrangled until the early morning hours over the details of the rescue, squeezing last-minute concessions out of private holders of Greek debt. Thierry Charlier/AP Photo The deal "closes the door to an uncontrolled default that would be chaos for Greece and Greek people," said European Commission President Jose Manuel Barroso. "It's not an easy (program), it's an ambitious one," said Christine Lagarde, the head of the IMF, adding that there were significant risks that Greece's economy could not grow as much as hoped. Including Greece's first bailout worth euro110 billion ($146 billion), the new deal means every Greek man, woman and child will owe the eurozone and the IMF about euro22,000 ($29,000). In Athens, the reaction to the news was a mixture of relief the country has avoided financial catastrophe and fear of a dark future. "I don't see (the agreement) with any joy because again we're being burdened with loans, loans, loans, with no end in sight," architect Valia Rokou said in the Greek capital. The eurozone and Greece had been under pressure to reach an accord quickly to prevent Athens from defaulting on a euro14.5 billion ($19.2 billion) bond payment on March 20. The fear is that an uncontrolled bankruptcy could unleash market panic across the rest of the continent, further unsettling other struggling countries like Ireland, Portugal or the much bigger Italy or Spain. Despite the promise of new rescue loans, the other 16 euro countries made clear that their trust in Greece is running low. Before Athens will see any new funds, it has to implement a range of promised cuts and reforms.