The moment most of the UK has been waiting for (without actually being able to take part in) is almost upon us - the Scottish independence referendum will take place tomorrow.
With the latest opinion polls showing the narrowest of leads for the No campaign, all eyes will be north of the border to find out the result – but when will the referendum result be announced? And how will the votes be counted?
The polls open at 7am tomorrow and close at 10pm, which is when the vote count starts.
Of the possible electorate, 97 per cent are registered to vote – that's 4.2m people potentially having their say.
Scotland has 32 local government areas, which will report their results to the chief counting officer at the Royal Highland Centre in Ingliston, just outside Edinburgh, who will verify them and authorise the local announcements.
When will the first result be announced?
It's going to be a long night...
The first result is expected to be the postal vote, which is due to be announced at around midnight.
The local government area votes should start declaring from around 1am, with the bulk of results expected between 3am and 5am.
According to Elections Scotland, we are likely to find out whether Scotland will gain independence somewhere between 6:30am and 7:30am, although the official announcement is expected at 8am.
However, given that the bulk of announcements will have been made in the early hours, it could be called much earlier.
City AM is pulling an all-nighter to keep you up to date, so check back here for the news as it breaks throughout tomorrow night.