The U.S. Congress confirmed Joe Biden as the winner of the 2020 presidential election in the small hours of Thursday morning, after pro-Trump rioters were expelled from the Capitol following hours of chaos and violence on Wednesday night.

Variety reports that the electoral college vote total passed the winning total of 270 around 3.30 a.m., confirming Biden as the next President and Kamala Harris as the Vice President-Elect. The final tally was 306 for the Biden-Harris ticket, versus 232 for Trump and Mike Pence.

Donald Trump released a statement shortly thereafter pledging an “orderly” power transfer to Joe Biden on January 20, 2021.  Presidential aide Dan Scavino tweeted the statement from his account, as Trump’s has been temporarily locked.

“Even though I totally disagree with the outcome of the election, and the facts bear me out, nevertheless there will be an orderly transition on January 20th. I have always said we would continue our fight to ensure that only legal votes are counted. While this represents the end of the greatest first term in presidential history, it’s only the beginning of our fight to Make America Great Again!”

Both houses of Congress turned aside an objection to the result from Arizona, which cast its 11 electoral votes for Biden. The Senate voted 93-6 to deny the objection. A short while later, the House also voted it down 303-121. The two houses then returned to a joint session and resumed the vote count, proceeding through the states in alphabetical order.

About 70 Republican House members sought to object to the vote in Georgia and Michigan, but no senator agreed to sign on to the objections, so the count proceeded. About 55 Republican House members objected to the outcome in Nevada, but again, no senator signed on to the objection.

Sen. Josh Hawley, however, signed an objection to the vote in Pennsylvania, halting the count and forcing both houses to retire to their chambers to consider it shortly after midnight.

Senators did not debate the issue but instead proceeded quickly to a vote. They voted 92-7 against the Republican motion to overturn the Biden victory in Pennsylvania.

The House conducted a late-night debate on Pennsylvania, which included a brief confrontation between Representatives Andy Harris and Colin Allred.

A sergeant-at-arms was present for what C-Span described as a “scrum.” In the vote that followed, the motion to overturn the Pennsylvania electoral college was defeated by 138 to 282. The Republican representatives split their vote 138 in favour, while 64 voted with the Democrat delegation. The defeat of the objection motion allowed the joint session on certification to restart again shortly after 3.20 am Washington time.

The House and Senate were considering the Arizona objection in separate sessions when the rioters interrupted the proceedings earlier in the afternoon. House Speaker Nancy Pelosi restarted the House on Wednesday night, saying that violence showed the “weakness” of the rioters’ position.

Vice President Mike Pence gaveled the Senate back into session, calling it a “dark day.” The senators assumed a sombre tone, with Senate Majority Leader Mitch McConnell calling the violent outbreak a “failed insurrection.”

“This temple to democracy was desecrated,” said Charles Schumer, the Democratic leader, who said it would be a “the final, terrible, indelible legacy” of President Trump.

The Congress had convened at 1 p.m. in joint session to certify the result of the Electoral College. Earlier in the day, Trump held a rally at which he continued to foment unrest over the election, which he has claimed was “rigged” against him. He encouraged demonstrators to march on the Capitol. The demonstrators overwhelmed the Capitol Police, overran barricades, and smashed windows to gain entry to the building. The lawmakers were forced to seek cover and evacuate.

A woman was shot and killed by a Capitol Police officer during the ensuing chaos. Later, it emerged that four people had died.