Scottish independence: What happened during the night?
Scotland has voted to stay in the United Kingdom after voters said no to independence.
With almost all the votes now counted, the 'No' side passed the winning total of 1,852,828 needed to win the referendum just after 6am on Friday morning.
The Yes camp has had some victories, including in Glasgow and Dundee, but not enough to secure victory overall.
Talks will now begin on giving more powers to Scotland.
Ayshah, who is in Scotland, runs us through what happened on result night.