（2014-12-14）Negotiators at United Nations talks in Peru have reached a compromise deal which sets the stage for a global climate pact to be made next year in Paris.
After late-night wrangling, delegates from more than 190 nations meeting in Lima adopted a format for national pledges to cut greenhouse gases and approved a blueprint to guide negotiations for the Paris pact in December 2015.
"As a text it's not perfect, but it includes the positions of the parties," said Peru’s environment minister, Manuel Pulgar-Vidal, who was the conference chairman.
The hard-fought agreement - dubbed the Lima Call for Climate Action - was reached hours after a previous draft was rejected by developing countries who accused rich nations of shirking their responsibilities to fight global warming.
The two-week talks overran by 32 hours after the delegates failed to reach a consensus by the end of the session.
While hailing the Lima agreement as one that "unites all nations", UK Energy Secretary Ed Davey warned there was a lot of work to be done before the Paris summit.
Mr Davey said: "The talks were tough but the Lima Call for Climate Action shows a will and commitment to respond to the public demand to tackle climate change.
"The next 12 months will be critical and the UK's leadership will be needed more than ever in the difficult negotiations ahead - but we have to succeed because the threat to our children's future is so serious."
Shadow energy secretary Caroline Flint told Sky's Murnaghan programme: "What is really positive is that for the first time we have got the developed countries and the developing countries on the same page and they have all agreed that they all need to reduce their carbon emissions."
The European Union welcomed the outcome of talks as a "as a step forward on the road to a global climate deal in Paris next year."
But environmental campaigners said it was a step backwards in protecting poor countries from catastrophe.
Friends of the Earth's international climate campaigner Asad Rehman said: "The only thing these talks have achieved is to reduce the chances of a fair and effective agreement to tackle climate change in Paris next year.
"Once again poorer nations have been bullied by the industrialised world into accepting an outcome which leaves many of their citizens facing the grim prospect of catastrophic climate change."
Samantha Smith of the WWF conservation group said of the successive drafts: "We went from weak to weaker to weakest."
And Alden Meyer of the US-based monitoring group Union of Concerned Scientists said the deal was "definitely watered down from what we expected".
Due to take effect in 2020, the Paris pact aims to limit global warming to 2C (3.6F) over pre-industrial levels. At its heart is a roster where all nations enter voluntary commitments to reduce their carbon emissions.
But the Lima deal came after a rebellion by developing nations like India and China, who warned tougher measures would put an unfair burden on them.
The final draft apparently alleviated those concerns, with language saying countries have "common but differentiated responsibilities" to deal with global warming.
"We've got what we wanted," said Indian environment minister Prakash Javedekar, who said the text preserved the notion enshrined in a 1992 climate convention that the rich have to lead the way in making cuts in greenhouse gas emissions.
Historically Western nations have been the biggest greenhouse gas emitters but now developing nations are pulling ahead, as they grow their economies and lift millions out of poverty, meaning China is now the biggest greenhouse gas emitter ahead of the US, the EU and India.
The main goal for the session in Lima was to agree on what information should go into the pledges that countries submit for the summit in Paris.
But the deal weakened language on the content of the pledges, saying they "may" instead of "shall".
And after opposition led by China it was agreed that there will not be a full-blown review comparing each nation's pledge.
And it restored language demanded by small island states at risk of being flooded by rising seas, mentioning a "loss and damage" mechanism agreed upon in last year's talks in Poland.