The Liberal Democrats experienced a mixed night, with the former leader Nick Clegg losing his seat to Labour but a series of gains elsewhere.
Clegg, the deputy prime minister in the 2010-15 coalition, lost Sheffield Hallam by more than 2,000 votes to the 35-year-old Labour candidate, Jared O’Mara.