 On 5 April 2009, he succeeded Anders Fogh Rasmussen as Prime Minister following the latter's appointment as Secretary General of NATO.In the 2011 general election, the government lost its parliamentary majority and Rasmussen tendered the government's resignation to Queen Margrethe II.He was succeeded by Helle Thorning-Schmidt of the Social Democrats on 3 October 2011.