Richard Braine has resigned as leader of Ukip weeks ahead of the UK’s next general election.

After less than three months in the post, and following a string of leaders who have all failed to unite the party, his resignation will raise questions over whether Ukip can continue as a viable political force in British politics.

In a resignation letter, he blamed “internal conflict”, and said he found himself “powerless to prevent a purge of good members from the party”.

His predecessor Gerard Batten said Mr Braine was resigning because the party’s chairman and its National Executive Committee “made it impossible for him to do his job".

The embattled party, which took 12.6 per cent of the vote in the 2015 election a year before the EU referendum, and saw its share of the vote collapse to 1.8 per cent at the snap general election in 2017, is currently polling at around 1 per cent.

Beautiful scenes as first frost falls across Britain and Ireland Show all 10 1 /10 Beautiful scenes as first frost falls across Britain and Ireland Beautiful scenes as first frost falls across Britain and Ireland Low fog hangs as the sun rises over the Malvern Hills in Worcestershire on Monday 28 October PA Beautiful scenes as first frost falls across Britain and Ireland Donkeys nuzzle in a frost-covered field near Baltinglass in County Wicklow, Ireland on Monday 28 October PA Beautiful scenes as first frost falls across Britain and Ireland Dandelions wither in a frost-covered field near Bracknell, Berkshire on Monday 28 October PA Beautiful scenes as first frost falls across Britain and Ireland The sun rises above a frost-covered field in Bracknell, Berkshire on Monday 28 October PA Beautiful scenes as first frost falls across Britain and Ireland A low fog hangs at sunrise in the Malvern Hills in Worcestershire on Monday 28 October PA Beautiful scenes as first frost falls across Britain and Ireland A dogwalker strolls at sunrise on the Malvern Hills in Worcestershire on Monday 28 October PA Beautiful scenes as first frost falls across Britain and Ireland Dogwalkers stroll through a frost-covered field near Bracknell, Berkshire on Monday 28 October PA Beautiful scenes as first frost falls across Britain and Ireland Farmer's sheep in a frost-covered field near Baltinglass in County Wicklow, Ireland on Monday 28 October PA Beautiful scenes as first frost falls across Britain and Ireland A morning walk at sunrise on the Malvern Hills in Worcestershire on Monday 28 October PA Beautiful scenes as first frost falls across Britain and Ireland Dogwalkers stroll through a frost-covered field near Bracknell, Berkshire on Monday 28 October PA

The party also lost all of its MEPs in May’s European elections.

Since 2016, the party has had eight different leaders, including two interim leaders.

Mr Braine wrote: “I did not join Ukip in order to waste time on internal conflict, but I have found myself powerless to prevent a purge of good members from the party.

“I had believed that Ukip was a highly democratic party, but I have not been able to stop political interference in Ukip ballots. I can not therefore stand publicly for Ukip with a clear conscience.”

Mr Batten tweeted: “The NEC are an absolute disgrace & have to go. Branches are organising an EGM (extraordinary general meeting) to remove them.

“Thanks to Richard for trying in the face of sabotage.”

Mr Braine’s two and a half-month tenure as leader was swiftly impacted by a public row with the NEC, after he called for the cancellation of the Ukip party conference in September due to low ticket sales.

Party chairman Kirstan Herriot wrote to members criticising Mr Braine over his “regrettable decision” to boycott the event.