Leave side crosses the line to win
Media playback is unsupported on your device

Story of the EU referendum results night

24 June 2016 Last updated at 08:24 BST

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.