Brexit and a Prime Minister's resignation: How events unfolded