German Chancellor Angela Merkel said the Group of Seven wealthy democracies committed themselves to the need to “decarbonise the global economy in the course of this century”.
This is a technical term for ending the use of oil, gas and coal – but not nuclear power – and replacing them with alternative sources of energy such as wind and solar power.
Burning carbon-based fuels such as oil and gas releases carbon dioxide into the atmosphere, which is blamed for global warming.
Ms Merkel and French president Francois Holland had pressed for agreement on the goal so it can be put forward at a summit on climate change later this year in Paris.
The aim was to send a signal to push other nations taking part in that meeting to commit to reducing dangerous greenhouse gas emissions.
The countries also committed to limiting the rise in average global temperatures to two degrees Celsius (3.6 Fahrenheit) compared to pre-industrial levels.
The seven countries also agreed at the two-day summit at the Elmau palace in Bavaria to commit to raising $100bn in annual climate financing by 2020 from public and private sources.
Another issue on the agenda was the Ukraine crisis.
Western nations stand ready to strengthen sanctions against Russia over its involvement in the conflict in the east of the country, Ms Merkel said.
She said the leaders want Russia and Ukraine to comply with a ceasefire agreed in Belarus in February that largely halted fighting between pro-Russian separatists and Ukrainian government forces.
Source: Sky News