While the UK voted to Leave the EU, not all regions backed a Brexit.
Scotland voted strongly to stay in the EU. Scottish First Minister Nicola Sturgeon said the vote had made clear that the people of Scotland saw their future as part of the EU.
Northern Ireland's Deputy First Minister Martin McGuinness said the result in NI, a vote to Remain, intensified the case for a referendum on a united Ireland.
Voters in England and Wales backed a Brexit.
Below is the breakdown of the result in Northern Ireland, England, Scotland and Wales.