US President Joe Biden has announced that he will end his candidacy for re-election, saying "it is in the best interest of my party and the country".

It comes four months before Americans go to the polls, upending the race for the White House.

It follows weeks of intense pressure from fellow Democrats after a faltering debate performance against Republican Donald Trump at the end of June.