US President Joe Biden ended his re-election campaign on Sunday after fellow Democrats lost faith in his ability to beat Donald Trump, leaving the presidential race in uncharted territory.

Biden, in a post on X, said he would remain in his role as president and commander-in-chief until his term ends in January 2025 and would address the nation this week.

“It has been the greatest honor of my life to serve as your President. And while it has been my intention to seek re-election, I believe it is in the best interest of my party and the country for me to stand down and to focus solely on fulfilling my duties as President for the remainder of my term,” Biden wrote.

By dropping his re-election bid, he clears the way for vice-president Kamala Harris to run at the top of the ticket, the first black woman to do so in the country’s history.

Biden, 81, did not mention her when he announced his move. It was unclear whether other senior Democrats would challenge Harris for the party’s nomination, who was widely seen as the pick for many party officials — or whether the party itself would choose to open the field for nominations.

Biden’s announcement follows public and private pressure from Democratic legislators and party officials to quit the race after his poor performance in a televised debate last month against Republican rival Donald Trump.

Top Democratic leaders had privately pushed him to end his campaign. Senate majority leader Chuck Schumer, House of Representatives minority leader Hakeem Jeffries and former House speaker Nancy Pelosi were among those to have expressed deep concerns directly to Biden in recent days. Former president Barack Obama also reportedly worried about Biden’s ability to beat Republican presidential nominee Donald Trump.