The 2016 Conservative Party leadership election occurred as a result of Prime Minister David Cameron's resignation as party leader. He had resigned following the national referendum to leave the European Union. Cameron, who supported Britain's continued membership of the EU, announced his resignation on 24 June, saying that he would step down by October. Theresa May won the contest on 11 July 2016, after the withdrawal of Andrea Leadsom left her as the sole candidate.