Polls close in historic EU vote
Voting has finished in the historic referendum on British membership of the European Union, with polls suggesting the result remains too close to call.
Voting has finished in the historic referendum on British membership of the European Union, with polls suggesting the result remains too close to call.
Polling stations the length and breadth of Scotland shut their doors on the hour, 15 hours after opening at 7am on Thursday morning.
Counts are being held in all 32 Scottish local authority areas.
The vote is the second referendum for Scots in as many years.
In 2014 voters north of the border opted by 55% to 45% to remain part of the UK after a referendum on independence.
Scots voters are expected to have backed remaining part of the European Union, but the picture across the UK is less clear, prompting suggestions the current ballot could itself trigger a second vote on Scottish independence.
Earlier, SNP leader Nicola Sturgeon said she was hopeful of a large turnout in Scotland as she cast her vote.
Accompanied by husband and SNP chief executive Peter Murrell at Broomhouse Community Hall in Glasgow, Scotland's First Minister greeted voters at the polling station and posed for pictures.
She said: ''I'm feeling really optimistic and have just voted with my head and my heart.
''From what I could see on social media the weather is very patchy across the UK.
''I saw reports of people turning up to vote in pouring rain, but it's blue skies and sunshine in Glasgow - as always - so it's perfect voting weather.''
Ms Sturgeon has repeatedly warned that vote could be revisited if Scotland is ''dragged'' out of Europe against its wishes, if the UK as a whole opts for Brexit.
And she has said that Scotland could have a big impact on the final vote'', with Scots voters also potentially able to keep the UK in the European Union.
She has however already revealed that Scottish Government officials have been working on contingency plans for what could happen if the overall result is to leave the EU.
Ms Sturgeon and the leaders of the four other parties at Holyrood - Ruth Davidson of the Conservatives, Labour's Kezia Dugdale, Liberal Democrat Willie Rennie and Patrick Harvie from the Scottish Greens - have all been campaigning for a Remain victory.
But Ukip's Scottish leader David Coburn MEP has said he believes a majority of Scots could vote to quit the EU.
''Everyone is saying they are voting to Leave, and I find very few people who say they are voting Remain,'' he said while campaigning in Edinburgh this week. ''I think there is a majority for Leave in Scotland, or it is very close.''
Prime Minister David Cameron faces a tense night as votes are counted across the UK, with a Leave vote widely expected to spell the end of his premiership.
The final poll released just hours before voting stations closed their doors put the In side ahead by a margin of 52% to 48%. But the Ipsos Mori survey for the London Evening Standard is unlikely to be enough to allay prime ministerial nerves, with other polls in the last 24 hours showing a lead for Leave.
With no exit polls being conducted by broadcasters, it is likely to be well into the early hours of Friday before a reliable picture emerges of how Britain has voted in what Mr Cameron has described as the most important vote in a lifetime.
And the final result is not expected to be confirmed at the Electoral Commission's main counting centre in Manchester until breakfast time. A record number of voters are eligible to take part in the referendum, with the Electoral Commission putting the number at 46,499,537.
Anecdotal evidence from around the country suggests that turn-out has been high in many areas - something widely expected to favour the Remain camp.
Fine weather in Scotland heartened Remain campaigners, who are relying on a high turnout north of the border, where voters are thought to be strongly pro-EU.
But torrential rain and flooding in the South East caused transport disruption which may have prevented some voters from reaching the ballot box in time. Some polling stations were forced to close, and two in Kingston-upon-Thames had to be relocated after becoming inundated.
Leave campaign standard-bearer Boris Johnson had a last-minute dash to vote in north London, due to a delay to his flight from Scotland after attending his daughter's university graduation ceremony - finally reaching the polling station with less than 25 minutes to spare.
Waiting for his plane in Edinburgh, he told reporters that polls had been very close'' but turnout was
good in areas where we need it to be''.
Ukip leader Nigel Farage insisted his side could pull off an historic victory if soft'' Remain voters in the capital stayed home because of the bad weather. Those backing Brexit had the
real conviction and passion'' to cast their vote regardless of the conditions, he said.
Prime Minister David Cameron ignored questions as he arrived with wife Samantha to cast their votes at Methodist Hall in Westminster, saying only Good morning'' to the gathered media from across the world.
Labour leader Jeremy Corbyn - who has been accused of campaigning half-heartedly in the Remain cause - said he was extremely'' confident of the outcome, pointing to bookmakers' odds which have consistently favoured continued EU membership despite fluctuations in the polls.
Pro-Leave Justice Secretary Michael Gove said he was feeling quite excited'' as he accompanied his wife, Sarah Vine, to a polling station in west London. The referendum has seen one of the longest, and most personally bitter, campaigns in recent British political memory.
Both sides of the campaign have been locked in fierce fighting for months, and things came to a frenetic close on Wednesday as senior politicians criss-crossed across the country to try to sway undecided voters.
The Prime Minister and his Remain colleagues from across the political spectrum have warned of the potentially severe economic consequences of a Brexit vote amid fears of financial market turmoil and another recession.
But Leave campaigners, led by former London mayor Mr Johnson, have urged voters to take back control'' of the country.
Meanwhile, dozens of celebrities have intervened during the course of the campaign to make their feelings known.
Footballer David Beckham, James Bond actor Daniel Craig and Harry Potter author JK Rowling were just three of the high-profile names to back the Remain campaign, while Leave won support from the likes of comedian John Cleese, former cricketer Sir Ian Botham and former England football player Sol Campbell.