There may be some legal activity yet to come but on the face of it the result looks clear: it is President-elect Joe Biden.
Subscribe now for unlimited access.
$0/
(min cost $0)
or signup to continue reading
President Trump will remain in the White House until the inauguration on January 20 and then he becomes an ex-president.
In that transition period, much can happen, some of it routine as power is transferred and some of it far from routine.
With Mr Trump, we may be about to see an epic drama worthy of those we binge-watch on HBO.
Might he be prosecuted after he leaves office? Will those around him dish the dirt? Might he negotiate a deal to go quietly in return for immunity for any crimes he may have committed?
But first to the immediate drama.
The transition
Until the inauguration of the new president, the usual process is for the outgoing administration to cooperate with the incoming one.
The defeated government is viewed as a "lame-duck". It does not attempt any serious policy enactments. Mr Trump may or may not follow that convention.
Mr Biden already has a transition team with an office near the White House.
There is a recognised, non-partisan body for smoothing the process - the Partnership for Public Service's Center for Presidential Transition - which has been working with both teams for two months.
According to the US media, there has been cooperation. In September, the head of the Centre, said, "The three major players - the Trump White House, the career officials in the agencies and the Biden team - are all taking their transition work very seriously.
Dear Bill, When I walked into this office just now I felt the same sense of wonder and respect that I felt four years ago. I know you will feel that, too. I wish you great happiness here. I never felt the loneliness some Presidents have described. There will be very tough times, made even more difficult by criticism you may not think is fair. I'm not a very good one to give advice; but just don't let the critics discourage you or push you off course. You will be our President when you read this note. I wish you well. I wish your family well. Your success now is our country's success. I am rooting hard for you. Good Luck George.
- President George Bush to in-coming President Bill Clinton, Jan 20, 1993
"This will be the most important transition since 1932 given the United States simultaneously face economic, health and social justice crises."
Mr Biden will start to select his administration. He's probably already been interviewing people. It will be interesting to know if Barack Obama will have a role - or Hillary Clinton. It seems unlikely because ex-presidents like to sit in dignity away from politics, and part of Mr Biden's appeal was that he wasn't Hillary Clinton.
And Mr Trump?
There will also be an epic human drama in the White House.
When Mr Trump loses power, he loses immunity from prosecution. He also loses the ability to wield power to keep those around him in line.
There may also be a rush to the publishers of tell-all memoirs by those who know where the bodies are buried (not literally, we assume).
Robert Mueller, the special counsel who investigated Mr Trump's alleged connections to Russia, concluded that Mr Trump may have obstructed justice by trying to impede his inquiry (not least by trying to get Mr Mueller sacked).
"While this report does not conclude that the president committed a crime, it also does not exonerate him," Mr Mueller stated.
The Trump-appointed Attorney General William Barr said at the time that he saw insufficient evidence that the president had obstructed justice.
Others might take a different view once Mr Trump is out of power.
As former federal prosecutor Renato Mariotti, put it: "In the second volume of his 448-page report, Mueller sets forth evidence of obstruction of justice that any competent federal prosecutor could use to draft an indictment.
"And Mueller made it clear himself that his detailed report was intended, in part, to 'preserve the evidence' because 'a President does not have immunity after he leaves office'."
It has to be said that the convention is that former presidents are not prosecuted.
There hasn't been a single indictment in 240 years. The reasoning is that an election should be a new start and prosecuting the previous president prevents that new start.
That's why Gerald Ford pardoned Richard Nixon after his role in the Watergate break-in.
After the election, the new president justified pardoning the former president: "The tranquillity to which this nation has been restored by the events of recent weeks could be irreparably lost by the prospects of bringing to trial a former President of the United States."
But some might argue that Mr Trump has been so divisive and so careless of the rule of law that an example should be made.
Hours before he left office, Bill Clinton negotiated immunity from prosecution for his deceit in his answers over what happened between him and Monica Lewinsky.
According to The Washington Post, he also "reached an agreement with Arkansas authorities that spares him the humiliation of being stripped of his law license. Clinton agreed to pay $25,000 in fines and, in a symbolic penalty for a man with no plans to return to the bar, accepted a five-year suspension of his license."
But there are those who would want a prosecution of Mr Trump.
"The risk of politicisation of such an investigation is far outweighed by the danger posed by failing to uphold our nation's values," according to Paul Rosenzweig of the firm Red Branch Consulting and a law lecturer at George Washington University.
READ MORE:
"To protect future presidents from retributive investigations once they leave office, however, any investigation should be limited to Trump's conduct before and after his presidency, not his behaviour while he was president."
Mr Trump may start to think hard about life after the presidency and how to protect himself from prosecution and even jail.
This may persuade him to try to negotiate a similar deal to the Clinton one.
He has (forgive the pun) a trump card in such negotiations: he could agree to go quietly in return for immunity from prosecution.
But that is all surmise. There are acts in this drama yet to be played.