Nigel Farage has resigned as leader of UKIP having failed to gain the seat of Thanet South, losing out to Conservative candidate Craig Mackinlay.

But he said he would consider running for the job again when the leadership contest is held in September.

Speaking about his defeat, he insisted he had "never felt happier", with a "weight lifted off his shoulders".

UKIP has won a 13% vote share in the election and has one MP, Douglas Carswell, who held his Clacton seat.

It puts the party in third place behind the Conservatives and Labour in terms of share of the vote.

Mr Farage said the results proved there needed to be a change to the voting system.

"Personally, I think the first-past-the-post system is bankrupt," he said.

"It is bankrupt because one party can get 50% of the vote in Scotland and nearly 100% of the seats, and our party can get 4 million votes and just one seat."

He added: "For those reasons there are a lot of angry UKIP people out there. They're not giving up on UKIP, but absolutely determined that we get a fairer, more reflective system."

Mr Farage claimed there was a new type of UKIP voter - predominantly working class, very much younger than before, and in particular young women now voting for the party.

He said he would keep his promise of standing down as leader following his defeat, but said he would not rule out the job in the future.

"There will be a leadership election for the next leader of UKIP in September and I will consider over the course of this summer whether to put my name forward to do that job again," he said.