Hours after hundreds of Donald Trump's supporters stormed the US Capitol in a harrowing assault on American democracy, a shaken Congress formally certified Democrat Joe Biden's election victory.
Through a White House spokesperson on Twitter, Trump said: "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."
Late on Wednesday (local time) houses of Congress resumed their work on certifying Biden's Electoral College win, with debate stretching into the early hours of Thursday. After debate, the House and Senate rejected two objections to the tally and certified the final Electoral College vote with Biden receiving 306 votes and Trump 232 votes.
The outcome had never been in doubt, but had been interrupted by rioters spurred on by Trump who forced their way past metal security barricades, broke windows and scaled walls to fight their way into the Capitol.
Police said four people died during the chaos - one from gunshot wounds and three from medical emergencies - and 52 people were arrested.
Some besieged the House of Representatives chamber while lawmakers were inside, banging on its doors and forcing suspension of the certification debate. Security officers piled furniture against the chamber's door and drew their pistols before helping lawmakers and others escape.
As it happened: