In pictures: Scotland referendum count
Areas across Scotland are continuing to declare their vote after people went to the polls over whether the country should leave the UK.
Voters answered "Yes" or "No" to the referendum question: "Should Scotland be an independent country?".
They cast their ballots at polling stations across each of Scotland's 32 local authority areas on Thursday.
Shortly before 05:15 BST the BBC predicted Scottish voters had rejected independence with 55% saying "No".
The scene in Glasgow's George Square as it became apparent that most areas of Scotland had rejected independence.
Tellers are counting votes at the Royal Highland Centre in Ingliston, Edinburgh. There were 4.2m registered voters across Scotland - 97% of the electorate.
Voters were asked a single yes/no question - but some ballot papers were spoiled.
Deputy First Minister Nicola Sturgeon reacts as the North Lanarkshire declaration reveals the "Yes" campaign winning with 51.1% of the vote.
Better Together campaigners celebrated at their Glasgow HQ as they heard they had been successful in Clackmannanshire. "No" won by 54% to 46%.
Declarations from around Scotland were placed on a wall at the Edinburgh counting centre.
Count observers looking on as ballot papers are counted at the Aberdeen Exhibition and Conference Centre. There is a counting centre in each of Scotland's 32 local authorities.
Glasgow's George Square had been a focal point for "Yes" supporters as they awaited the results of the referendum.
Supporters of both the "Yes" and "No" campaigns headed to the Scottish Parliament as their country's fate was being decided.
"Yes" supporters waved flags outside the parliament building in Edinburgh. The result in the capital city is not expected until around 05:00 BST.
Father and daughter George and Anne Mackay's converted caravan served as a polling station for about 50 residents at Coulags, near Lochcarron, in the Highlands.
A schoolgirl leaves a polling place in Edinburgh before heading to her morning classes. The decision to lower the voting age to 16 for the referendum has given thousands their first chance to vote in a national election.
Large queues formed outside polling stations in Glasgow as people cast their votes before heading to work.
Former prime minister and Better Together campaigner Gordon Brown cast his vote at the North Queensferry Community Centre in Fife.
First Minister Alex Salmond waved to the waiting cameras as he cast his vote at Ritchie Hall in Strichen.
Better Together campaign leader Alistair Darling was joined by his wife Margaret as he cast his vote at Church Hill Theatre in Edinburgh.