London's new Muslim mayor Sadiq Khan accused Prime Minister David Cameron on Sunday of using "Donald Trump playbook" tactics to try to divide communities in a bid to prevent his election. The day after being sworn in with a promise to be "mayor for all Londoners," the Labour lawmaker condemned Cameron's Conservatives for trying to link him to extremists during the election campaign. "They used fear and innuendo to try to turn different ethnic and religious groups against each other — something straight out of the Donald Trump playbook," Khan wrote in The Observer newspaper. "Londoners deserved better and I hope it's something the Conservative party will never try to repeat." Khan won 57 percent of the vote in Thursday's mayoral election, securing 1.3 million votes to see off multimillionaire Tory Zac Goldsmith and making history as the first Muslim mayor of a major Western capital. The 45-year-old, the son of a Pakistani immigrant bus driver, hailed his victory as a triumph of "unity over division" after weeks of Tory criticism over his past appearances at public events alongside radical Muslims. A number of Conservative politicians criticized the tone of the campaign, but Defense Secretary Michael Fallon said the questions raised had been legitimate. Khan had admitted representing some "pretty unsavory characters" during his previous job as a human rights lawyer but said their views were "abhorrent." "Both candidates were asked questions about their backgrounds, their personalities, their judgment, the people they associate with," Fallon told BBC radio. "That's the nature of our democracy and the rough-and-tumble of politics." Khan broke from convention by taking his oath of office in a multi-faith ceremony at Southwark Cathedral, promising to represent "every single community, and every single part of our city, as mayor for all Londoners." Hillary Clinton, who as the likely Democratic nominee will face presumptive Republican nominee Trump in the race for the US presidency, led international congratulations. "Son of a Pakistani bus driver, champion of workers' rights and human rights, and now Mayor of London. Congrats, @SadiqKhan. -H" she tweeted. New York Mayor Bill de Blasio said he was looking forward to working with his "fellow affordable-housing advocate" while Paris Mayor Anne Hidalgo tweeted that Khan's "humanity (and) progressivism will benefit Londoners." — Agencies