The work toward that global legal framework was initiated at COP18 Doha in November 2012, at the same time as the second commitment period of the Kyoto Protocol was adopted under the Doha Amendment. At COP19 in Warsaw in 2013 governments continued to work toward the global framework but also adopted a rulebook for reducing emissions from deforestation and forest degradation and a mechanism to address loss and damage caused by long-term climate change impacts. Gathering in Lima for COP20 at the end of 2014, governments defined the core elements of the upcoming agreement, and agreed on the ground rules to submit national contributions in the run up to the 2015 negotiation.