LONDON — Sadiq Khan, a son of a bus driver from Pakistan, was declared the winner of London’s mayoral election on Saturday, becoming the first Muslim to lead Britain’s capital at a time of rising Islamophobia in the West.
The victory of Mr. Khan, a former human rights lawyer and a Labour member of Parliament, makes him one of the most prominent Muslim politicians in the West. It was also his party’s biggest boost in a series of elections on Thursday in which Labour further lost its grip on Scotland, once a stronghold, and clung, in some cases just barely, to seats in England and Wales.
Mr. Khan won with 56.8 percent of the vote, versus 43.2 percent for Mr. Goldsmith. The results were not final until Saturday morning because in London’s system voters are allowed a first and second preference, and Mr. Khan had not won an outright majority in the first round.
London, a global center of finance, is hardly representative of Britain: About a quarter of its residents are foreign-born, and an eighth are Muslim. And Mr. Khan is not the first Muslim to win a prominent office in Europe: Rotterdam, in the Netherlands, has had a Muslim mayor since 2009, and a Muslim Conservative lawmaker, Sajid Javid, is the British secretary of state for business.
Nonetheless, Mr. Khan, 45, won a striking victory after a campaign dominated by anxieties over religion and ethnicity. Britain has not sustained a large-scale terrorist attack since 2005, and its Muslim population, in contrast to France, is considered well assimilated. But an estimated 800 people have left Britain to fight for or support the Islamic State. Dozens of assaults on British Muslims were reported after the Paris terrorist attacks in November.