America's Electoral College on Monday confirmed Donald Trump's election as the 45th president of the United States, unswayed by a desperate bid by die-hard opponents to bar the Republican's path to the White House.

Six weeks after his upset victory over the Democrat Hillary Clinton, Trump sailed as expected 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.

After the confirmation Trump tweeted: 

In a statement released by his team, the president-elect welcomed the "overwhelming vote" in his favor, while reaching out to the Democrats who sought against the odds to block him.

"With this historic step we can look forward to the bright future ahead," he said. "I will work hard to unite our country and be the president of all Americans."

Under normal circumstances, the college vote is a little-watched, rubber stamp formality in which electors -- most of them party members -- officially cast ballots for the candidate that won the popular tally in their state.

This time, however, the divisive nature of the campaign, Trump's provocative personality, and Clinton's lead of nearly three million votes in the popular tally combined to raise the stakes.

Source: b'Trump has said Americans need to look to the bright future ahead | Source: Reuters'

The Electoral College vote works like this: when US voters cast ballots on November 8, they did not directly elect the president but rather 538 electors charged with translating their wishes into reality.

Trump won a clear majority of those electors: 306.

Democratic activists casting the Republican as a threat to the nation staged a vocal, weeks-long campaign urging electors to break ranks and refuse to vote for him.

To bar Trump's road to the White House, they needed to convince at least 37 Republican electors to abandon their candidate.

The odds of that happening were considered next to none.

Source: b'Activists demonstrate against US President-elect Donald Trump outside the Texas State Capitol in Austin, one day ahead of the meetings of the Electoral College | Source: Reuters'

According to a New York Times tally, a total of seven so-called "faithless" electors defected for someone else than their party's nominee, the biggest number ever.

In Washington state, three of the state's 12 electoral votes went to former Republican secretary of state Colin Powell and a fourth went to Faith Spotted Eagle, a Native American leader who helped block the Keystone XL and Dakota Access pipelines.

An elector in Hawaii cast a vote for Senator Bernie Sanders, Clinton's opponent in the Democratic primaries. Two Texas Republican electors defected, one voting for former representative Ron Paul and another for Ohio Governor John Kasich.

'Cynical'

The Republican National Committee welcomed the result -- and urged Democrats to accept Trump's victory once and for all.

"This historic election is now officially over," RNC co-chair Sharon Day said in a statement. "For the good of the country, Democrats must stop their cynical attempts to undermine the legitimacy of this election."

Source: b'North Carolina Electoral College representatives sign the Certificates of Vote after they all cast their ballots for U.S. President-elect Donald Trump | Source: Reuters'

The anti-Trump movement gained further momentum in recent days amid the uproar over allegations of Russian hacking aimed at swaying the vote in favor of the Republican.

Even in the unlikely event that Trump had lost the Electoral College vote, it would have been up to the House of Representatives -- controlled by Republicans -- to designate the successor to President Barack Obama.

The final vote result will be formally announced in the US Congress on January 6, two weeks before the next president is to be inaugurated.