Close share panel Millions of people have voted in a historic referendum on whether the UK should remain a member of the European Union or leave. Here we look back at the events in pictures. Image copyright Jack Taylor/Getty Images Image caption The Remain campaign was expected to win, but it was the Leave supporters who celebrated as the early results came in. Image copyright Rob Stothard / Getty Images Image caption London supporters of the Stronger In Campaign cheered as the first result, from Gibraltar, was announced. Image copyright Rob Stothard / PA Image caption But hours later, with the outcome still too close to call, supporters of the Stronger In campaign looked on as some results went against them. Image copyright Rob Stothard / PA Image caption London and Scotland voted strongly to stay in the EU but the remain vote has been undermined by poor results in the north of England. Voters in Wales and the English shires have backed Brexit in large numbers. Image copyright Stefan Rousseau / PA Image caption UKIP leader Nigel Farage - who has campaigned for the past 20 years for Britain to leave the EU - told supporters "this will be a victory for ordinary people, for decent people". Image copyright Stefan Wermuth / Reuters Image caption Speaking outside Number 10, David Cameron - accompanied by his wife Samantha - said the will of the British people must be respected and announced that he would step down as prime minister.