The detail of events in a long night is in the Comments chain on our Live commentary here ,
What happens next is virgin territory.
SNP MP, Tasmina Ahmed Sheikh, has just told Adam Boulton that the SNP manifesto statement was clear.
She reiterated it: that if Scotland were to have to leave the EU because of an overall majority of that mind, where it had itself voted to say in, this would be a material change of circumstances that could [Ed: our emphasis, not Ms Ahmed Sheikh’s] trigger a demand for a second Scottish Independence Referendum.
She then said that the SNP was waiting to here from First Minister Nicola Sturgeon on what she intends to do.
What is not a matter of conjecture, though, is that Northern Ireland will now find itself in uncharted territory as a non-member-to-be of the EU sharing a border with the Republic of Ireland – which remains a member of the EU and which uses the euro.
This is likely to see calls from Sin Fein for a Referendum on a united Ireland.
Will we also see a London UDI, since Scotland, Northern Ireland, London and the North West of England [whose population is greater than that of Scotland] are the only regions voting to stay in?
Will the North West and Scotland come to some composition?
This may well be shake up time at a level no one has seriously contemplated.
Another consequence of this vote is that the positions of David Cameron and George Osborne are now substantially weakened.
There is a rumour in circulation already that a statement from the PM will be forthcoming – and that a dignified resignation of both may be in the offing.