Nigel Farage has announced he will step down as leader of UKIP in the wake of the UK's vote to leave the EU.

"My aim in politics was to get Britain out of the European Union," he said in a speech outlining the party's post-referendum strategy.

"That is what we voted for in that referendum two weeks ago, and that is why I now feel that I've done my bit, that I couldn't possibly achieve more.

"And so I feel it's right that I should now stand aside as leader of UKIP."

This is not the first time the 52-year-old has resigned as leader.

In 2015, he quit the leadership after the general election, but reversed that decision just days later.

"I won't be changing my mind again - I can promise you," he said.

"During the referendum campaign I said I want my country back. What I'm saying today is: I want my life back."

Mr Farage has declined to endorse a successor but says he expects his replacement will be in place for the party's autumn conference.

UKIP's only MP, Douglas Carswell, who has had a rocky relationship with Mr Farage, tweeted a smiley face in response to the news.

When asked about the tweet, Mr Farage said: "I'm pleased that he's smiling because that's not something I've seen very often from him.

"So it's obviously very good news."

Mr Farage's decision to step down means UKIP now joins the Conservatives in searching for a new leader.

Mr Carswell told Sky News he and Mr Farage had not always agreed, saying: "I was very critical of the Breaking Point poster - and quite rightly so - and I was very critical of the comments about Cologne ... and about what I would call the nativist sentiment.

"We need to be less strident and recognise the way to address people's legitimate anger with politics is not to play on the anger but to answer it with reform."

He said he was not interested in running for the party leadership, adding: "I think I can help ensure that UKIP veers away from the temptations of angry nativism.

"I want UKIP to be more than one of those continental-type parties that is against new arrivals."

When asked who he wanted to see running for the leadership, he said he wanted to see "an open contest in which Suzanne Evans is allowed to stand".

Ms Evans, the party's parliamentary spokeswoman, is currently suspended for public criticisms she made of it.

Mr Carswell said: "It would be disgraceful to have a contest in which not all of the candidates were able to stand on a technicality."

Ms Evans says she would like to stand.

"I've never made any secret of the fact that if Nigel Farage did step aside for any reason, I would like to put myself forward," she told Sky News.

"And yes, I'd like to have that opportunity to do so."

Ms Evans said Mr Farage's resignation is an opportunity to renew UKIP and allow it to "grow up".

"UKIP has an image problem," she acknowledged.

"I know that there are so many very good people in UKIP who are not racist, who are not homophobic, who simply have the country's best interests at heart.

"We have to clean up our act."

Mr Farage says he intends to stay on as a member of the European Parliament as Britain triggers the process to exit the EU.

"I will watch the renegotiation process in Brussels like a hawk," Mr Farage promised.

"I'm also very keen to help the independence movements that are springing up in other parts of the European Union, because I'm certain of one thing - you haven't seen the last country that wants to leave the EU."

Fellow UKIP MEP, Nathan Gill, has paid tribute to Mr Farage, saying that very few politicians can say they achieved what they set out to do.

"For years politics was boring and unattractive to millions of people around the country and Nigel changed that: he made politics relevant and provided a voice for the people," Mr Gill said.

UKIP London Assembly Member David Kurten described Mr Farage as "an inspiration and a giant in British politics".

But the former Labour leader Ed Miliband says Mr Farage has a history of "stirring up division", telling the BBC: "I'm not sorry to see Nigel Farage leaving the political scene."