Sadiq Khan has been officially declared the winner of London’s mayoral elections. The Labor MP of British-Pakistani origin gained 57 percent of the vote, beating his Conservative Party opponent, Zac Goldsmith, who received 43 percent.

“I promise to always be a mayor for all Londoners, for every Londoner, regardless of your background,” said the newly-elected mayor in a victory speech.

He also referred to his immigrant roots, mentioning his father Amanullah Khan, who came to Britain from Pakistan.

“He would have been so proud that the city he chose to call his home has now chosen one of his children to be the Mayor,” Khan said as quoted by ITV.

A huge thank you to everyone who voted Labour, volunteered today or campaigned with us. #TeamKhanpic.twitter.com/Igv7BCHbJ1 — Sadiq Khan MP (@SadiqKhan) May 5, 2016

Since the total vote count did not determine the winner, as neither of the candidates secured more than 50 percent of the vote (gaining 44.2% and 35% respectively), the second preference vote was enacted. Londoners were able to choose two candidates at the ballot box, selecting a preferred candidate in the paper’s column A and their second preference in column B.

The practice is known as the Supplementary Vote system and used to elect mayors in England and Wales. If no candidate receives more than fifty percent of the vote, the second choice is counted, thus eliminating the need for a run-off election.

Khan took 1,310,143 votes, as opposed to Goldsmith’s 994,614.

Nine out of the 14 constituencies in London went to Labour, with the Conservatives trailing behind with five.

Labour leader Jeremy Corbyn congratulated his colleague in a message on Twitter, alongside the trending hashtag #YesWeKhan.

Congratulations @SadiqKhan. Can't wait to work with you to create a London that is fair for all! #YesWeKhanpic.twitter.com/FqRjfY1xNT — Jeremy Corbyn MP (@jeremycorbyn) May 6, 2016

Former Labour chief Ed Miliband has predicted Khan will prove to be an “outstanding” mayor, having overcome a Tory “campaign of fear and division.”

Congratulations @SadiqKhan. You will be an outstanding Mayor of London. Your positive vision & dignity beat a campaign of fear and division. — Ed Miliband (@Ed_Miliband) May 6, 2016

Conservative rival Zac Goldsmith had been accused of conducting a “dirty” campaign in which he tried to associate Khan with Muslim extremists.

Former Conservative Party chairperson Sayeeda Warsi described the Tory’s bid to hold on to London’s City Hall as an “appalling dog whistle campaign” that appeared to center on race and religion.

Our appalling dog whistle campaign for #LondonMayor2016 lost us the election, our reputation & credibility on issues of race and religion. — Sayeeda Warsi (@SayeedaWarsi) May 6, 2016

Lessons for us @Conservatives to learn about campaigning after awful #LondonMayor2016

1."Where there is discord, may we bring harmony"." — Sayeeda Warsi (@SayeedaWarsi) May 6, 2016

Even Goldsmith’s sister, journalist Jemima Goldsmith, appeared to criticize his tactics.

Sad that Zac's campaign did not reflect who I know him to be- an eco friendly, independent- minded politician with integrity. — Jemima Goldsmith (@Jemima_Khan) May 6, 2016

An official announcement at City Hall confirming the full details of Kahn’s win is imminent.

All quiet in the chamber now but this is where the result will be announced #LondonMayor2016@BBCRadioLondon@Eds30pic.twitter.com/pdxSassRZ7 — Susana Mendonça (@susana_mendonca) May 6, 2016

Khan is now widely seen as the most powerful Muslim in Britain, with a budget of £17 billion to spend on the capital for policing, transport, planning and the environment.

The son of a bus driver has pledged to support businesses in London and change planning rules to help increase the number of affordable homes.

Tory MP Mark Field criticized the Goldsmith campaign in an interview with the BBC, stating: “In many ways with Zac, it felt slightly ill at ease to be putting the boot in.”

Supporters of Khan have already begun tweeting congratulations to the new mayor.

Zac Goldsmith runs a sleazy, shameless, anti-Muslim campaign against Sadiq Khan - and loses. Good lesson for future Conservative politicans. — Wajahat Ali (@WajahatAli) May 6, 2016

Historic victory for @SadiqKhan. Becomes only the 3rd person to be directly-elected mayor of London, perhaps the greatest city in the world. — Mehdi Hasan (@mehdirhasan) May 6, 2016

Congratulations to #SadiqKhan ... History in making. — Nazrana Yousufzai (@NazranaYusufzai) May 6, 2016

Labour MPs also praised Khan for his new role.

Congratulations @SadiqKhan , London Mayor, well deserved victory. — Glenis Willmott MEP (@GlenisWillmott) May 6, 2016

A fantastic achievement for @SadiqKhan - very well done mate! https://t.co/4GjBdmvD8e — Angela Eagle (@angelaeagle) May 6, 2016

Meanwhile critics of Zac Goldsmith and his campaign are calling for him to resign as MP for Richmond Park and North Kingston.

Time for @ZacGoldsmith to resign from Kingston as MP and rethink his approach to politics. Threw away goodwill for racism and desire to win — Sunny Hundal (@sunny_hundal) May 6, 2016