Nigel Farage has resigned as UKIP leader after losing his bid to become MP for South Thanet.
But he said he may well run in the party's leadership contest in September, after taking some time over the summer to think.
Farage had been expected to win in South Thanet, having enjoyed a lead in opinion polls since the start of the campaign.
Last night, Farage lashed out at the media after exit polls suggested UKIP would only win two seats.
Earlier this year, Farage admitted it would be "curtains" if he lost in the general election.
In his autobiography, published in March, Farage wrote:
It is frankly just not credible for me to continue to lead the party without a Westminster seat. What credibility would Ukip have in the Commons if others had to enunciate party policy in Parliament and the party leader was only allowed in as a guest?
Was I supposed to brief Ukip policy from the Westminster Arms? No, if I fail to win South Thanet, it is curtains for me. I will have to step down.
Hussein Kesvani is a reporter for BuzzFeed News and is based in London.
Got a confidential tip? Submit it here.