US President-elect Joe Biden has said the "will of the people prevailed" after his presidential election victory was confirmed by the US electoral college.
In a speech after the announcement, he said the US democracy had been "pushed, tested and threatened" and "proved to be resilient, true and strong".
He criticised President Donald Trump's attempts to challenge the result, and said it was "time to turn the page".
The confirmation was one of the steps required for Mr Biden to take office, reports BBC.
Under the US system, voters actually cast their ballots for "electors", who in turn, formally vote for candidates weeks after the election. Democrat Joe Biden won November's contest with 306 electoral college votes to Republican Donald Trump's 232.
President Trump, who shows no sign of accepting the result, has not commented. Shortly after the result was confirmed, he announced on Twitter the departure of Attorney General William Barr, who had said there was no widespread evidence of voter fraud in the election, despite the president's claims.
Speaking in Delaware, Mr Biden praised "ordinary men and women" who had refused to be bullied, referring to the president's efforts to question and overturn the results, involving legal challenges which have been rejected by courts across the country.
"The flame of democracy was lit in this nation a long time ago," he said. "And we know that nothing not even a pandemic or an abuse of power can extinguish that flame."
Mr Biden said it was time to "turn the page, as we've done throughout our history - to unite, to heal".
What happened at the electoral college?
Normally the electors do not get that much attention but this year, due to Mr Trump's efforts, the state-by-state vote was in the spotlight.
Solidly Democrat California, with its 55 electors, was one of the last states to vote on Monday and took Mr Biden across the 270-vote threshold required to win the presidency.
Heightened security had been put in place in some states, including Michigan and Georgia, ahead of voting, which took place in state capitals and Washington DC.
In Michigan - a key swing state which Mr Biden won - legislative offices in the state capital Lansing were closed due to "credible" threats of violence.
The vote at the capitol building went ahead peacefully although a group of Republicans tried to enter the building to hold their own vote and were turned away.
In his speech, Mr Biden described the harassment of officials following the election as "unconscionable" and said: "It's my sincere hope we never again see anyone subjected to the kind of threats and abuse we saw in this election."
He also noted that he had the same number of electoral college votes that Mr Trump said was a "landslide" when he won in 2016. Mr Biden emphasized that he had also won the popular vote, something Mr Trump failed to clinch four years ago.
Republican Senator Lamar Alexander said: "The presidential election is over. States have certified the votes. Courts have resolved disputes. The electors have voted. I hope that President Trump will put the country first, take pride in his considerable accomplishments, and help president-elect Biden get off to a good start."