Results initially looked tight before the Labour incumbent took a five-point lead on Saturday afternoon.
The race has been much closer than people thought, considering some in Bailey’s own party had written him off, while a Labour source said turnout and voter complacency could be a problem.
But Mr Khan was virtually guaranteed a second term after holding Barnet and Camden, a marginal seat which had to swing decisively to Mr Bailey to give the Conservative any hope of a comeback.
Khan’s re-election campaign has focused on jobs, with an emphasis on promoting tourism and investment to help the 300,000 Londoners who lost work during the pandemic.
Bailey had pledged to increase police patrols and stop-and-search, drawing attention to his Labour opponent’s record on knife crime.
Khan’s victory will come as welcome news to Labour following humiliating losses elsewhere across the country.
As well as the shock defeat in the Hartlepoolby-election, Labour had a net loss of six councils and more than 200 seats in the local elections, losing control of the likes of Harrow, Essex, and Plymouth local authorities in the process.
The party also failed to topple Tory mayoral incumbents in the Tees Valley and the West Midlands, although did produce a surprise victory in the West of England mayoral contest and comfortable wins in Greater Manchester and the Liverpool City Region.
Despite some success stories, it was plunged into chaos on Saturday night as sources revealed Deputy leader Angela Rayner had been sacked as party chair and coordinator.
The shock move sparked a major row at the top of the party, with critics accusing Keir Starmer of using his second in command as a scape goat for his election misfortunes.
More to follow
Get your need-to-know
latest news, feel-good stories, analysis and more
Thanks for reading the whole article. If you wish to get an daily update about London Mayoral elections: Sadiq Kahn wins another term , click on the bell button to subscribe for the notifications.