The premiership of David Cameron began on 11 May 2010 when Cameron accepted the Queen's invitation to form a government, after the resignation of Cameron's predecessor as Prime Minister of the United Kingdom, Gordon Brown.