LONDON—Nigel Farage announced his resignation as leader of the UK Independence Party on Monday, saying he had achieved his political ambition after his long and controversial campaign for Britain’s exit from the European Union.

The announcement marks the latest upheaval in British politics in the wake of the country’s vote to leave the EU, which triggered the resignation of Prime Minister David Cameron and has fueled calls for the leader of the opposition Labour Party to quit.

...