Donald Trump is still facing criminal charges - what happens now he has won US election?
Whoever picked up the keys to the White House, this was always going to be a historic election win.
A Kamala Harris victory would have made her the first female president. Donald Trump is the first convicted felon to become US leader.
In May, Trump became the first former president to be criminally convicted, for attempting to cover up a hush money payment to porn star Stormy Daniels during his 2016 campaign.
He was found guilty of 34 counts of falsifying business records to commit election fraud. As it stands, he is due to be sentenced in this case later in November.
Mr Trump, who is due to be inaugurated as president in January, has also been embroiled in other state and federal criminal cases, as well as civil cases. He has pleaded not guilty to charges against him and alleged prosecutions are politically motivated.
Experts say it is likely the federal cases at least will "go away".
'Hush money' - state case
This is the case relating to Stormy Daniels, for which Trump was found guilty of covering up his then lawyer's $130,000 (£99,000) payment for her silence before the 2016 election, about a sexual encounter she alleges they had a decade earlier.
Trump is due to be sentenced in New York on 26 November - and could face up to four years in prison. His lawyers are now expected to ask Justice Juan Merchan to delay the hearing.
Initially set for July, Judge Merchan has already twice postponed the sentencing. This is in part due to a US Supreme Court ruling made in July, finding that presidents have broad immunity from prosecution over their official acts.
Mr Trump argues the case should be dismissed based on this, which prosecutors dispute.
Election subversion - federal case
Donald Trump is also charged with attempting to overturn his defeat in the 2020 election, which he lost to Joe Biden.
He has pleaded not guilty to criminal charges accusing him of a conspiracy to obstruct the process to collect and certify the results.
He was accused of using "dishonesty, fraud, and deceit" and spreading "pervasive and destabilising lies about election fraud".
Again, this case has been slowed by the US Supreme Court ruling on presidents and immunity.
Election interference - state case
Mr Trump was formally booked at Georgia's Fulton County jail in August 2023, charged over an alleged conspiracy to reverse his defeat specifically in the battleground state in the 2020 election.
While he was there, he had his mugshot and fingerprints taken before being released on bail. Speaking to media afterwards, he said: "What has taken place here is a travesty of justice. We did nothing wrong. I did nothing wrong and everybody knows that. I've never had such support."
The election result in Georgia was memorably close, triggering two recounts, but ultimately Mr Biden won by 11,779 votes - or 0.23% of the five million cast.
It was certified by both Georgia's Republican governor Brian Kemp and secretary of state Brad Raffensperger. But Mr Trump did not accept the result.
Prosecutors used state racketeering laws, developed to fight organised crime, to charge him and others, including his former lawyer Rudy Giuliani.
Mr Trump and eight of his 14 co-defendants in the case are appealing. They are seeking to disqualify the lead prosecutor, Fulton County District Attorney Fani Willis, over alleged misconduct.
Misuse of classified documents - federal case
Mr Trump had also faced charges over classified documents he allegedly took from the White House, including deleting CCTV footage of his staff moving boxes at his Florida home.
However, a judge threw out this case against him on 15 July.
Details on the US nuclear weapons programmes, potential vulnerabilities of the nation and its allies, and plans for retaliatory military attacks were in some of the documents, the federal indictment said.
Prosecutors are appealing.
Civil cases
He is also appealing several civil lawsuits totalling more than $500m (about £388m), which likely won't be affected by his win.
These include a civil fraud case in New York state, and cases brought by writer E Jean Carroll, who sued him for allegedly sexually assaulting her in the 1990s, and defaming her while he was president the first time.
The appeals court is expected to rule in the sexual assault case first, with the ruling expected at any time, according to NBC.
Mr Trump is also facing eight pending civil suits related to the attack on the US Capitol on 6 January 2021, following his complaints of voter fraud in the 2020 election.
No trial date has been set, but with appeals these could take months or even longer to be determined, NBC reports.
So what happens now?
Experts say Trump's election victory will essentially end the criminal cases brought against him, at least for the time he occupies the White House.
He has previously said that should he become president again, he would fire US Special Counsel Jack Smith - who led the federal prosecutions - "within two seconds" of being sworn in.
While he will indeed have the authority to fire Mr Smith and shut down the federal cases, he will not have the same control over state cases in New York and Georgia.
However, being the US president is a unique position, and means it is unlikely he will face legal consequences in either case during his term in office.
Does that mean he gets off?
Sky News US correspondent James Matthews says this is a possibility, although he adds that the two state cases "are more complicated".
As president, Mr Trump would have the power "to appoint officials of his choice at the Department of Justice," Matthews added, and it is "probably fair to say their brief would include dropping the two federal cases".
Can Trump pardon himself?
This is also a possibility, Matthews said. It falls within the power of the president, although a self-pardon has never been tested legally.
The issue of a pardon doesn't apply in state cases - however, the conviction and prosecution are weakened by the Supreme Court ruling.
"Nor can evidence of official acts be used in evidence to support the prosecution of a crime committed out of office," Matthews said.
"In both the New York appeal and Georgia case, expect Trump's lawyers to point to evidence used to convict him - phone calls and behaviour whilst in the role of president - and claim it relates to official acts and, under the Supreme Court ruling, should be ruled inadmissible."
Read more:
Trump's main pledges for second term
Harris team will be searching for answers
Danny Cevallos, legal analyst for Sky News' US partner NBC, said that even if sentencing in the hush money case does happen on 26 November, "in all likelihood, it's not a case that he's going to get prison time", due to a number of factors.
He added: "You have someone over 75 years old, no guns, no drugs, no violence... in the spectrum of criminals who might be able to get a probation-only or house arrest sentence, Donald Trump is in a high likelihood. That's even if the case goes forward this month for sentencing, it might not."
Then, the case in Georgia. This is "mired in appeal", Cevallos said.
"In all likelihood, those cases will be put on pause. And four years from now, who knows what the political situation will be in Fulton County, Georgia."
Fulton County is "not good at speedy trials in complex cases", he added, so "Donald Trump's case may never see the light of day in Georgia".
Regarding the federal cases, two people familiar with the matter have told NBC News that justice department officials are evaluating how to wind them down before Trump takes office.
The sources say DoJ officials have accepted the fact no trial is possible any time soon in either case.
"Sensible, inevitable and unfortunate," said former federal prosecutor Chuck Rosenberg, an NBC News contributor.
At the same time, Trump's legal team is weighing the next steps for how to resolve the outstanding cases in the former president's favour.
Cevallos said he could say with "a lot of confidence" that the federal cases "are going to go away".
Mr Trump could appoint an attorney general "who will simply do his bidding and dismiss the case", he said, or he could instruct the justice department "to not even bother with the appeal of the already dismissed federal case. Those cases are, for all intents and purposes, gone".