David Cameron resigned as Prime Minister after the United Kingdom voted to leave the European Union. Johnson was the favourite to be the new Prime Minister. However, Johnson announced he would not stand in the Conservative leadership election.