Young people voted overwhelmingly for Jeremy Corbyn’s Labour Party in the general election, playing a crucial role in denying Theresa May a majority, according to a new poll.

A survey of 14,000 people after they had voted by former Conservative donor Lord Ashcroft found that two-thirds of 18- to 24-year-olds cast their ballots for Mr Corbyn’s party.

Meanwhile, more than half of those aged 25 to 34 opted for Labour.

General Election 2017: The final results

Almost 250,000 young people registered to vote ahead of the deadline for Thursday’s election, up from 137,400 on the last day of registrations in 2015.

According to Sky News data, the turnout for 18- to 24-year-olds was 66.4 per cent, up from 43 per cent two years ago.

Sky gave similar estimates to Lord Ashcroft of how young people voted, showing that 63 per cent of 18- to 34-year-olds voted Labour and 27 per cent Conservative.

General Election 2017: Big beasts who lost their seats Show all 7 1 /7 General Election 2017: Big beasts who lost their seats General Election 2017: Big beasts who lost their seats Nick Clegg Picture By Darren O'Brien/Guzelian Picture Shows Former MP, Nick Clegg delivers a speech despite losing the Sheffield Hallam Seat. Labour candidate, Jared O'Mara (Front), defeats Nick Clegg to take the Sheffield Hallam seat. picture taken 08/06/2017 Darren O'Brien General Election 2017: Big beasts who lost their seats Gavin Barwell LONDON, ENGLAND - OCTOBER 07: Gavin Barwell MP arrives at Number 10 Downing Street on October 7, 2013 in London, England. British Prime Minister David Cameron announced a Government reshuffle today. (Photo by Oli Scarff/Getty Images) Getty General Election 2017: Big beasts who lost their seats Angus Robertson General Election 2017: Big beasts who lost their seats Nicola Blackwood PA General Election 2017: Big beasts who lost their seats Alex Salmond PA General Election 2017: Big beasts who lost their seats Rob Wilson Mandatory Credit: Photo by Geoffrey Swaine/REX (1096138i) Rob Wilson, Conservative MP for Reading Funeral of Murdered Student Asha Muneer at Rivermead Leisure Centre, Reading, Britain - 28 Jan 2010 Rex Features General Election 2017: Big beasts who lost their seats Ben Gummer Minister for the Cabinet Office Ben Gummer arriving at 10 Downing Street, London for the weekly cabinet meeting. PA

The former Conservative donor’s poll proved fairly accurate in reflecting the overall result — showing 41 per cent of the vote went to the Conservatives, 39 per cent for Labour and 7 per cent for the Lib Dems. The final outcome of the election showed 42 per cent supported the Ms May’s party, 40 per cent backed Mr Corbyn’s and 7 per cent opted for Tim Farron’s.

Mr Corbyn positioned himself as the young person’s candidate, championing popular policies such as the abolition of tuition fees.

His campaign galvanised support with social media and he received heavy celebrity endorsement, including from grime musicians JME and Stormzy.

David Cameron’s former director of communications Andy Coulson said the “youth vote has come out in strength and lashed out pretty aggressively”.

He told ITV it was an understatement to say the Conservative campaign “has not been a success” and said a “disconnection” with voters was to blame.