In the end, the polls were broadly right: Labour has won a landslide victory, and Sir Keir Starmer will be the prime minister after 14 years of Conservative-led government.
Yet dig a little deeper, and the data paints a complex picture. Labour’s national vote share is only around 2 per cent higher than it was in 2019, despite gaining more than 200 seats. The Conservative vote has splintered in multiple directions, to both Reform and the Liberal Democrats, but there is evidence of tactical voting at play.
And, as Liz Truss found out, it only took a quarter of the vote in some constituencies to win.
• General election results – every seat mapped
There were three big flows on the night. Labour gained