On 2 April 2014 Royal was appointed Minister of Ecology, Sustainable Development and Energy in the second cabinet of Prime Minister Manuel Valls, In January 2015 she was third in line in governmental rank, after the Prime Minister and Foreign Minister.