Sadiq Khan (R) with his wife Saadiya Khan (L).jpg

Sadiq Khan thanked the voters of London for "making the impossible possible" by electing him to be London's first Muslim mayor Friday.

Election officials confirmed late Friday that the 45-year-old Labour Party politician won the bitterly fought election over Conservative Zac Goldsmith and will succeed Boris Johnson.

"Thank you London. London is the greatest city in the world," Khan said after the victory.

Khan received 57 per cent after second preferences were taken into account; Goldsmith finished with 43 per cent, according to news reports.

He will be the first mayor from the Labour Party in eight years.

"I am so proud of our city. I'm deeply humbled by the hope and trust you've placed in me today. I want to say thank you to every single Londoner for making the impossible possible today," Khan said.

He described a "burning ambition for London" to ensure that every Londoner has the opportunities that the city gave him and his family, "opportunities not just to survive, but to thrive."

Labour leaders, Conservative rivals and foreign politicians congratulated Khan as the outcome became clear.

Several politicians and a Muslim group criticised Goldsmith's focus on Khan's religious background, and his claim that the former human rights lawyer had associated with extremists.

Shuja Shafi, the head of the Muslim Council of Britain, said it was "unfortunate that a Londoner who happens to be Muslim, and has gone out of his way to repudiate extremists, has nevertheless been smeared with the extremist brush."

Labour's Diane Abbott, who became one of London's first black members of parliament in 1987, accused the Conservatives of running "the most appallingly anti-Muslim campaign."

"They threw everything at him but Sadiq Khan's resilience and talent helped make history today," Tom Watson, Labour's deputy leader, said on Twitter.

French Prime Minister Manuel Valls congratulated Khan on Twitter and said he was looking forward to welcoming him in France.

In other regional elections across England and Wales, the Labour Party avoided the heavy losses that many analysts had feared, but the centre-left party lost further ground in its former political heartland of Scotland.

"Across England we had predictions we'd lose councils," Labour leader Jeremy Corbyn told supporters in Sheffield, where Labour won a by-election for the national parliament.

"We didn't [lose]," Corbyn said. "We hung on and we grew support in some places ... because our party is standing up against the grotesque levels of inequality in Britain."

The party retained important seats even in the traditionally Conservative south. However, it suffered further losses to the ruling Scottish National Party (SNP) in the Scottish Parliament, sliding to third place amid a Conservative revival north of the border.

The SNP retained its position as the dominant party in Scotland's regional parliament but failed to maintain its outright majority after losing several seats.

Gains made by British Prime Minister David Cameron's Conservative Party pushed Labour into third place in Scotland.

Cameron said the strong showing in Scotland would allow the Conservatives to "stand up to the SNP and give Scotland strong opposition."

The elections for regional and local assemblies have been seen as Corbyn's first test in national polls.

The leftist became Labour leader last year, and critics have expressed doubts over his ability to unite the party.

Labour's share of the vote fell significantly compared to regional and local elections in 2011 and 2012, but it appears to have regained some footing after a disastrous result in the general election last year, which gave the Conservatives a majority in parliament.

Meanwhile, the right-wing UK Independence Party, which is campaigning heavily for Britain to leave the European Union in a June 23 referendum, made gains in local councils in England and won its first seats in the Welsh regional assembly.

Latest news

Alphabet's self-driving car company sues Uber over alleged theft

Alphabet's self-driving car company Waymo said Thursday it was suing Uber and its subsidiary Otto for allegedly stealing its technology and infringing its patents.

US, Mexico take "important steps" even as Trump voices indifference

Top US and Mexican diplomatic and security officials met on Thursday in Mexico City, as President Donald Trump in Washington expressed ambivalence about relations with the United States' southern neighbour.

US Supreme Court's Ginsberg emphasizes value of free press

US Supreme Court Justice Ruth Bader Ginsburg expressed optimism about the political future of the United States despite the polarized and combative political atmosphere that has marked the fledgling presidency of Donald Trump.

Top Trump aide Bannon points to promises kept, media fight

Top White House strategist Steve Bannon said Thursday US President Donald Trump is keeping the promises he made during his campaign on issues from immigration to job creation.

Le Pen promises independent foreign policy, autonomous defence

Marine Le Pen promised Thursday that if elected president of France she would ensure it had a truly independent foreign policy as well as an autonomous capacity for self-defence.

Slovenia for ending lawsuits against Ljubljanska Banka

Croatia is infringing the memorandum of understanding signed with Slovenia in 2013 which they interpret differently, the Slovenian Embassy said on Thursday after a hearing at a Zagreb court in a suit which Croatia's PBZ bank filed against Slovenia's Ljubljanska Banka (LB) and Nova Ljubljanska Bank (NLB) over transferred foreign currency savings.

Marin Pucar appointed as new CEO in Podravka food concern

Marin Pucar is the new Management Board chairman of the Podravka food concern and will take the helm of the company after Zvonimir Mrsic's term expires at midnight on Thursday.

Croatian MEP says Moscow wants to influence in western Balkans

Croatian MEP Ivan Jakovcic said in an interview with the Montenegrin Pobjeda daily on Thursday that Moscow is trying to exploit the political forces in Montenegro and that Russia's meddling in Montenegro's internal affairs was "unacceptable behaviour."

New York Times launches brand campaign for 'The Truth' with Oscars ad

The New York Times is using Sunday's Academy Awards show to launch an advertising drive with an ad spot that capitalizes on President Donald Trump's confrontational relationship with the paper and other mainstream media.

Gambia charges former spy chief with murder of opposition leader

The former head of the Gambian national intelligence agency has been charged with the murder of an opposition youth leader who died in detention last year.

Dutch populist Wilders won't publicly campaign after security fiasco

The Dutch Party for Freedom (PVV) won't make public appearances in support of its election campaign after a security official assigned to protect party founder Geert Wilders was detained by police.

Peace Implementation Council Steering Board calls for defusing tensions in Bosnia

The Steering Board of the Peace Implementation Council in Bosnia and Herzegovina (BiH) met on Thursday, expressing the international community's concern about the situation in the country and calling on local politicians to act rationally to prevent an escalation of the crisis after a motion was submitted to review an International Court of Justice (ICJ) ruling in BiH's case against Serbia for genocide.