Election results 2017: Pictures of the election counts
BEN STANSALL/AFP
Prime Minister Theresa May's decision to call a snap election has backfired as the Conservative Party fails to win a majority. The Tories are projected to get 318 seats, Labour 261 and the SNP 35.
Dominic Lipinski/PA
Labour leader Jeremy Corbyn called on Mrs May to resign. Labour looks set to make 29 gains with the Tories losing 13 seats.
Mark Runnacles
The SNP were down by 22 seats in a bad night for Nicola Sturgeon, with her party losing seats to the Tories, Labour and Lib Dems.
Adam Holt/REUTERS/
Green co-leader Caroline Lucas retained her Brighton Pavilion seat comfortably, with more than 30,000 votes.
Dave Thompson/Getty images
Liberal Democrats leader Tim Farron celebrated beating Conservative party candidate James Airey, Independent candidate Mr Fishfinger and Labour candidate Eli Aldridge at the Westmoorland and Lonsdale constituency count in Kendal.
Paul Childs/REUTERS
UKIP leader Paul Nuttall's campaign focused on fighting for what he called "real Brexit" but he failed to win the seat of Boston and Skegness.
Ed Sykes/REUTERS
Across the UK, ballot boxes began to arrive at the counting centres soon after polls closed at 22:00 BST. Newcastle managed to declare its result at 23:00 to beat Sunderland - the usual winners as first declarers.
Danny Lawson/PA
The counting of votes has taken place throughout the night.
Dave Thompson/Getty Images
More than 2,700 candidates fought for 533 parliamentary seats in England, out of the UK's total of 650.
JEFF OVERS/BBC
Earlier, as the polling stations closed, an exit poll suggested the Conservative Party would get 314 MPs to Labour's 266 when all the results were counted.
Jack Taylor/Getty images
The BBC's Andrew Marr says no-one expected the Tory campaign to be "so faltering, so many missed steps" and for Theresa May to look so "unhappy".
DARREN STAPLES/Reuters
By contrast, he said Jeremy Corbyn appeared to have had "a cracking campaign".
Andrew Milligan/PA
Election staff counted ballot papers at the Emirates Arena in Glasgow, as the exit poll suggested the SNP could be in for a disappointing night.
Kevin Coombs/REUTERS
Party activists observed ballots being tallied at a counting centre in Hastings.
PAUL FAITH/AFP
A total of 109 candidates stood across Northern Ireland and 1.2 million people were eligible to vote. Here, counting staff sort through ballots at the counting centre at the Titanic Exhibition in Belfast.
Brian Lawless/PA
DUP supporters waited as counting got under way at the Eikon Exhibition Centre in Lisburn. Jim Shannon and Jeffrey Donaldson, both DUP candidates, won majorities in Strangford and Lagan Valley.
Anthony Devlin/Getty Images
An official reacts as vote counters wait for ballot boxes to arrive at the Peter Paine Performance Centre for the constituency of Boston and Skegness.
Legakis/REX/Shutterstock
A Labour Party representative takes notes of the counting of the ballots in Swansea.