LONDON — Former U.K. Independence Party leader Nigel Farage says he is quitting the party over its embrace of far-right activists.

Under Farage, the Euroskeptic party played a major role in the campaign for Brexit. He stepped down after helping lead the "leave" side to victory in Britain's 2016 EU membership referendum.

Since then, UKIP has veered further to the right. Farage called last month for current leader Gerard Batten to be ousted after he appointed anti-Islam activist Tommy Robinson as an adviser.

Writing Tuesday in the Daily Telegraph, Farage said that when he led UKIP the party excluded "extremists," but that under Batten's leadership "the party's direction has changed fundamentally."

Farage said "there is a huge space for a Brexit party in British politics, but it won't be filled by UKIP."