Official Scottish result in EU referendum: 62% Remain, 32% Leavepublished at 07:10 British Summer Time 24 June 2016

UK votes to leave EU
FM says new independence vote 'highly likely'
Scotland backs remain by 62% to 38%
Donald Trump hails Brexit vote
Scottish papers react to EU exit vote
Jo Perry and Sandy Murray
The final result showed 17.4 million people across the UK voted "Leave" and 16.1 million people voted "Remain" in the EU membership referendum.
Humza Yousef, who is the SNP MSP for Glasgow Pollok, denied the UK Leave result would automatically trigger a second referendum on Scottish independence.
He told the Good Morning Scotland programme that the SNP's Scottish Parliament manifesto stated that a second vote was a "possibility'.
Quote MessageIt wasn't couched in the way - that it would be an automatic referendum, that if this result played out, this would absolutely be the case. It was simply said that if this does happen, there is the possibility that a second referendum could happen. Now, Nicola Sturgeon, from a few days ago, said that we will do whatever we can to protect Scotland's interests and that means that a second referendum will be an option that's on the table.
Humza Yousef, Scottish government Transport minister
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Sarah Smith - Scotland editor
Many huge questions are raised by the EU referendum result.
In Scotland the biggest and most pressing question is whether this vote could spell the break up of the UK and hasten the day we see an independent Scotland.
Every region in Scotland voted to remain but the UK-wide result means that Scotland will nonetheless be leaving the EU.
This is exactly the scenario SNP leader Nicola Sturgeon envisaged when she said that if Scotland is "dragged out of the EU against its will" that could trigger a second referendum on independence.
She is a cautious politician - more cautious than Alex Salmond, who is keen to go for indyref 2. She will not want to make any hasty decisions.
But if this EU result does produce polls showing a majority in favour of Scottish independence it may be her best chance to achieve her overriding political ambition.
Quote MessageIt's the UK that's the member of the EU at the moment, not Scotland. So, there is no question that Scots will unite with the whole of the country to go forward and negotiate their very positive exit from the EU. We're going to see a very exciting prosperous future for the whole of the UK now.
Tom Harris, Director Scotland Vote Leave
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
In a statement delivered before the official UK vote was declared, the first minister said: "Scotland has delivered a strong, unequivocal vote to remain in the EU, and I welcome that endorsement of our European status."
She added: "The vote here makes clear that the people of Scotland see their future as part of the European Union.
"Scotland has contributed significantly to the Remain vote across the UK. That reflects the positive campaign the SNP fought, which highlighted the gains and benefits of our EU membership, and people across Scotland have responded to that positive message."
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Leave has crossed the line to win with 6,835,512 votes to Remain's 15,692,093.
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Jo Perry
Across the UK, a majority of voters backed withdrawal from the EU.
In Scotland, a majority of voters in each local authority area voted to remain.