US President Barack Obama speaking at the G20 Summit in Mexico
US President Barack Obama has said he is encouraged by European leaders' plans to tackle the eurozone crisis, as the G20 summit in Mexico ends.
In a final communique, world leaders said they would take "all necessary measures" to protect the euro area, reports the BBC.
Leaders said they welcomed Spain's plans to recapitalise its banks, according to the communique.
The talks were being held as Greece seeks to form a coalition government and Spain's borrowing costs soared.
Speaking to reporters at the end of the summit, President Obama said that European leaders recognised that "bold and decisive" action was needed to address Europe's debt crisis.
"What I have heard from European leaders during these discussions, they understand the stakes, they understand why it's important for them to take bold and decisive action, and I am confident they can meet those tests," he said.
President Obama said that while there was no "silver bullet" to solve Europe's crisis, "each step points to the fact that Europe is moving towards further integration rather than break-up".
"I am confident that over the next several weeks, Europe will paint a picture of where we need to go," he added.
As the summit came to a close the European leaders pledged to maintain stability in the eurozone and to work with the next Greek government towards reform and sustainability.
"Euro area members of the G20 will take all necessary measures to safeguard the integrity and stability of the area, improve the functioning of financial markets and break the feedback loop between sovereigns and banks," the joint statement said.
"We support the intention to consider concrete steps towards a more integrated financial architecture," it continued.
"The European Union members of the G20 are determined to move forward expeditiously on measures to support growth".
But German Chancellor Angela Merkel stressed that Greece must hold up its end of the deal.
"It's obvious that the reforms that were agreed in the past are the right steps and that they therefore must be implemented," Mrs Merkel told reporters.
She added that world leaders had "very balanced" talks on growth.
"We need the right mix of budget consolidation... and at the same time efforts for growth."
In the closing discussions of the summit, leaders also agreed not to introduce new protectionist measures until 2014.
But Russian President Vladimir Putin said that the imposition of trade barriers could be a vital tool in protecting Russian jobs.
Meanwhile, the "Brics" economies (Brazil, Russia, India, China and South Africa) also pledged to increase their contributions to the International Monetary Fund (IMF) - which has been seeking to boost its finances to prevent any future financial crisis.
The five Brics nations all offered to contribute $10bn (£6.4bn) to the IMF each in exchange for voting reforms that would give them greater influence in the organisation.
China also pledged $43bn (£27bn) to the IMF's crisis intervention fund, which has almost doubled to $456bn (£366bn).