Theresa May took over as prime minister in July 2016 in the aftermath of the referendum on the UK’s membership of the European Union, which resulted in a leave vote. The vote prompted David Cameron to resign as prime minister.