Story of EU referendum result night

Adults across the UK have voted for the country to leave the club of countries called the European Union, or EU.

Around 52% of people decided to vote leave, while 48% chose remain.

The votes have been coming in overnight and Ricky's been following it all.