Democrat Joe Biden defeated President Donald Trump to become the 46th president of the United States on Saturday, positioning himself to lead a nation gripped by historic pandemic and a confluence of economic and social turmoil.

His victory came after more than three days of uncertainty as election officials sorted through a surge of mail-in votes that delayed the processing of some ballots. Biden crossed 270 Electoral College votes with a win in Pennsylvania.

Biden, 77, staked his candidacy less on any distinctive political ideology than on galvanizing a broad coalition of voters around the notion that Trump posed an existential threat to American democracy. The strategy proved effective, resulting in pivotal victories in Michigan and Wisconsin as well as Pennsylvania, onetime Democratic bastions that had flipped to Trump in 2016.

Kamala Harris also made history as the first Black woman to become vice president, an achievement that comes as the U.S. faces a reckoning on racial justice. The California senator, who is also the first person of South Asian descent elected to the vice presidency, will become the highest-ranking woman ever to serve in government, four years after Trump defeated Hillary Clinton.

Trump is the first incumbent president to lose reelection since Republican George H.W. Bush in 1992. It was unclear whether Trump would publicly concede.

Americans showed deep interest in the presidential race. A record 103 million voted early this year, opting to avoid waiting in long lines at polling locations during a pandemic. With counting continuing in some states, Biden had already received more than 74 million votes, more than any presidential candidate before him.