Six weeks after his upset victory over the Democrat Hillary Clinton, Trump sailed past the 270 votes needed to make his victory official, according to US media, clearing the way for him to succeed Barack Obama on January 20.
"Congratulations to @realDonaldTrump; officially elected President of the United States today by the Electoral College!" tweeted Vice President-elect Mike Pence as the results came in.
Under normal circumstances, the Electoral College vote is a little-watched, rubber stamp formality in which electors across the country officially cast votes for the candidate that won the popular tally in their state.
A Colorado elector holds a signed vote certificate during the electoral vote at the Capitol in Denver. Source: AP
This time, however, Democratic activists casting the Republican as a threat to democracy staged a vocal campaign urging Republican electors to break ranks and refuse to vote for him.
When US voters cast their ballots on November 8, they did not directly elect the next president but rather 538 electors charged with translating their wishes into reality.
After a deeply divisive campaign, Trump won a clear majority of those electors -- 306 -- although his Democratic rival finished nearly three million votes ahead in the popular tally.
To prevent Trump from becoming president, activists needed to convince at least 37 Republican electors to abandon their candidate.
The odds of that happening were considered next to none.
According to a New York Times tally, four Democratic electors cast their votes for someone other than Clinton, and two Republicans voted for someone other than Trump.