The polls have closed and election night is upon us which, for some at least, means a night of strong cups of coffee, swingometers and a battle to stay awake.
There are 650 seats in the House of Commons up for grabs, meaning the winning party needs 326 to claim a majority.
Results are starting to come in, but how long will it be before we know who's really won? Here's a guide to what to look out for and when.
23:00-01:00 - First results
What to look for: Is Labour's "red wall" crumbling?
Experts have talked about Labour's "red wall". These are traditionally Labour seats in north-east Wales, the Midlands and the north of England that voted in favour of Brexit. They're seen as key targets for the pro-Brexit Conservatives.
01:00-02:00 - The battle for Lanark & Hamilton East
What to look for: Are the Tories winning in places like Wrexham?
Things should begin to speed up a little bit. Look out for the result in Labour's Darlington, which will declare at about 01:30. The Tories have targeted it. And if it's going to be a good night for Labour, they might hope to take Swindon South off Justice Secretary Robert Buckland (he has a 2% majority). And Hartlepool could be interesting: Brexit Party chairman Richard Tice is standing there.
And if it's a three-way, winner-takes-all, battle royal you're after, you're in luck. Just 360 votes separated the SNP (who came first), the Conservatives (second) and Labour (third) in Lanark & Hamilton East last time. There could be fireworks when it declares at about 01:30.
02:00-03:00 - Lib Dem targets
What to look for: Was Iain Duncan Smith the first big casualty?
We should also get a sense of how the Lib Dems' night is going. They expect to win St Albans but it is unclear how successful ex-Labour MP Chuka Umunna will be in Cities of London and Westminster. Also watch out for Sheffield Hallam, where Labour's Jared O'Mara is standing down - that's Nick Clegg's old seat. Leader Jo Swinson's seat of Dunbartonshire East is also expected to declare about now. Her majority is just over 5,000.
Labour shadow Scotland secretary Lesley Laird could lose her Kirkcaldy and Cowdenbeath seat and Dartford, a bellwether seat that flip-flops between the Conservatives and Labour, should declare at about 03:00. That could be interesting. At about the same time Islington North, Labour leader Jeremy Corbyn's seat, should announce its result.
03:00-04:00 - Potential shocks
What to look for: Beast of Bols-over - did Dennis Skinner lose?
Watch for a Lib Dem win in Devon North as it could spell trouble for the Conservatives in the South West. The Lib Dems are also eyeing a cabinet scalp in the shape of Dominic Raab. His Esher and Walton seat has returned Tory MPs for 100 years, but Remain-supporting voters could make it vulnerable for the party.
It is worth watching if Labour firebrand Dennis Skinner loses Bolsover to the Conservatives after almost 50 years. John Mann's former Labour seat of Bassetlaw could turn blue. The same might happen in Ashfield, while Canterbury might also go back to the Conservatives - Rosie Duffield has a majority of just 187.
And two results are due from Belfast just after 03:00. In Belfast South, Sinn Fein is standing aside in an attempt to help the SDLP oust the DUP. The SDLP is returning the favour in Belfast North. About an hour later we should also hear from Fermanagh & South Tyrone where the UUP will hope the DUP's decision not to stand again helps them beat Sinn Fein.
04:00-05:00 - All eyes on Uxbridge
What to look for: Dominic Grieve, Anna Soubry and of course Boris Johnson
Labour is also targeting Loughborough, the former seat of ex-minister Nicky Morgan, who has stood down.
Finally, will Boris Johnson be slightly nervous in Uxbridge and South Ruislip? He has the smallest majority of any sitting prime minister for 100 years. We'll find out if he wins at about 04:30.
05:00-07:00 - Have we got a winner?
What to look for: Recounts, concessions and victory speeches
Most counts will be completed by 06:00. But there could still be time to watch a big beast face defeat. One of Labour's best chances of a significant scalp is beating Environment Secretary Theresa Villiers in Chipping Barnet.
That should be about it. And if you've made it to 07:00, congratulations.