Election results 2017: Pictures of the election countsBEN STANSALL/AFPPrime 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/PALabour leader Jeremy Corbyn called on Mrs May to resign. Labour looks set to make 29 gains with the Tories losing 13 seats.Mark RunnaclesThe 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 imagesLiberal 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/REUTERSUKIP 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/REUTERSAcross 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/PAThe counting of votes has taken place throughout the night.Dave Thompson/Getty ImagesMore than 2,700 candidates fought for 533 parliamentary seats in England, out of the UK's total of 650.JEFF OVERS/BBCEarlier, 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 imagesThe 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/ReutersBy contrast, he said Jeremy Corbyn appeared to have had "a cracking campaign".Andrew Milligan/PAElection 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/REUTERSParty activists observed ballots being tallied at a counting centre in Hastings.PAUL FAITH/AFPA 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/PADUP 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 ImagesAn 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/ShutterstockA Labour Party representative takes notes of the counting of the ballots in Swansea. All photographs are copyrighted.