Congress has certified Donald Trump's US presidential victory over the objections of a handful of House Democrats, with Vice President Joe Biden pronouncing, "It is over."
House Democrats objected to the votes from at least 10 states, raising issues of voter suppression as well as American intelligence showing that Russia tried to sway the election in favour of Mr Trump. In each case, their objections were denied because they did not have the support of any senators.
All 538 electors met in their respective state capitals in December to cast their votes. Friday's vote count made it official. Mr Biden presided over the count in his role as president of the Senate.
Mr Trump finished with 304 electoral votes and Democrat Hillary Clinton got 227. There were seven protest votes for other candidates. It takes 270 Electoral College votes to win the presidency.
As expected, Mike Pence was elected vice president.
Mr Trump and Mr Pence are to be sworn in on January 20.
As the votes were announced for state after state, Democratic members of the House stood up to object. But in each case, no Democratic senator would join them, and Mr Biden cut them off.
"There can be no debate," Mr Biden said repeatedly.
Under federal law, if at least one senator and one House member object to the vote from any state, the House and Senate will meet separately to debate the merits of the objection.
Toward the end of the count, Representative Maxine Waters pleaded for a senator to join her in objecting.
"Is there one United States senator who will join me in this letter of objection?" Ms Waters said to boos from Republicans. None did.
Several protesters were ejected from the public gallery as the vote count concluded.
Mr Trump won even though Mrs Clinton received nearly 2.9 million more votes. His election has generated much angst among Democrats and others who oppose the billionaire businessman. But they have been powerless to change the outcome.
Despite rumblings of a revolt, only two Republican electors - both from Texas - cast protest votes for someone other than Mr Trump. Mrs Clinton lost four Democratic electors in Washington state and one in Hawaii.
On Friday morning, Mr Trump went on Twitter to provide another assessment of the election.
"Hillary and the Dems were never going to beat the PASSION of my voters. They saw what was happening in the last two weeks before the (election) and knew they were in big trouble - which is why they cancelled their big fireworks at the last minute. THEY SAW A MOVEMENT LIKE NEVER BEFORE," Mr Trump wrote.