Former mayor of London candidate Zac Goldsmith has lost his seat as an MP for the second time in three years.
Liberal Democrat Sarah Olney, who beat Tory Mr Goldsmith at a 2016 by-election but lost to him in 2017, won a 7,766 vote majority over the environment minister.
Ms Olney, 42, said her party “will be holding this government to account”.
Labour has won 40 of the announced seats in London. The Conservatives have won 14 seats, and the Lib Dems three.
Jeremy Corbyn won his Islington North constituency but announced he would step down as leader before the next election, following a “very disappointing night” for his party.
He said he would stay on as leader during a “process of reflection” on the result.
But Siobhain McDonagh, Labour’s MP for Mitcham and Morden, said: “Jeremy Corbyn should stand down immediately.”
If you cannot see the graphic above, click here.
Elsewhere Labour made the party’s only gain of the election in Putney, overturning a 1,554-vote majority in the formerly Conservative-held seat.
Labour’s Fleur Anderson called her victory “a bright light in a dark night”.
The Conservatives won back the marginal constituency of Kensington by 150 votes.
The seat was gained by Labour in 2017 with only a 20-vote majority, and was seen as a target for three main national parties.
New Conservative MP Felicity Buchan thanked constituents for putting “their faith and trust in me”.
“I want to be the MP for the whole of Kensington – whether that be the north, south or the middle,” she said.
Boris Johnson was re-elected as MP for Uxbridge and South Ruislip, with an increased vote share – taking 25,351 votes.
Speaking in his acceptance speech, the prime minister said: “It does look as though this One Nation Conservative government has been given a powerful new mandate to get Brexit done.”
A scuffle broke out as shadow chancellor John McDonnell made his acceptance speech in Hayes and Harlington.
Police had to intervene after Mr McDonnell was heckled with cries of “liar” and “terrorist”.
Mr McDonnell, who won the seat with a reduced 9,000-vote majority, said: “It is quite clear that there are fears also now for our democracy and the rise of the extreme right.”