The inside story of how the UK left the EU. Despite an election victory in 2015, David Cameron's pledge to hold a referendum on Britain's EU membership leads to his resignation 13 months later.