Donald Trump's legal campaign to subvert the election is nearly over, with the victory of Joe Biden announced by the Electoral College of the United States.