LONDON — The leader of the populist U.K. Independence Party has resigned after British Prime Minister David Cameron’s Conservatives secured enough seats to form a majority government on Friday.

Results from Thursday’s election show that the Conservatives won at least 324 of the House of Commons’ 650 seats, enough to form a slim majority government.

The Conservatives are ahead of their main rival, the Labour Party, which lost dozens of seats to the separatist Scottish National Party.

The win makes Cameron the first Conservative prime minister to win a second term since Margaret Thatcher.

Cameron stopped just short of declaring overall victory earlier Friday, saying he hoped to govern “one nation, one United Kingdom” if he was fortunate enough to continue as prime minister.

U.K. Independence Party leader Nigel Farage, who had earlier promised to resign if he lost, told activists “I’m a man of my word.”

But he raised the prospect he would consider running again in the future.

Only subscribers are eligible to post comments. Please subscribe or to participate in the conversation. Here’s why.

Use the form below to reset your password. When you've submitted your account email, we will send an email with a reset code.