The outcome of the US presidential election is on a knife-edge, with Donald Trump and his rival Joe Biden neck and neck in key swing states.
Mr Biden’s campaign said the race was “moving to a conclusion in our favour”.
But Mr Trump, a Republican, claimed to have won and vowed to launch a Supreme Court challenge, baselessly alleging fraud.
Millions of votes remain uncounted and no candidate can credibly claim victory as yet. There is no evidence of fraud.
The US is on course for the highest electoral turnout in a century. More than 100 million people cast their ballots in early voting before election day, and tens of millions more added their vote on Tuesday.
With the nation on edge, the final result may not be known for days.
What are the results so far?
Mr Trump has defied the pre-election polls to do better than predicted, but Mr Biden is still in the race and the overall result is not yet clear.
In the US election, voters decide state-level contests rather than an overall, single, national one.
To be elected president, a candidate must win at least 270 votes in what is called the electoral college. Each US state gets a certain number of votes partly based on its population and there are a total of 538 up for grabs.
The president is projected to have held the must-win state of Florida – a major boost to his re-election bid.
The BBC projects Mr Trump will win another conservative sunbelt state, Texas, where the Biden campaign had dreamed of an upset victory.
But Mr Biden could snatch Arizona, a once reliably conservative state. Fox News and the Associated Press have projected Mr Biden will win that state and CBS News, the BBC’s US partner, says it is leaning the Democrat’s way.
A loss for Mr Trump in that previously Republican-voting state would be a potentially serious setback.
The Rust Belt battlegrounds of Pennsylvania, Michigan and Wisconsin – which propelled Mr Trump to the White House four years ago – are very close.
But the Biden campaign said it had won Wisconsin, expected to win Michigan and was confident that mail-in votes would overturn a Trump lead in Pennsylvania.
Georgia and North Carolina are also very close, though leaning Mr Trump’s way.
Mr Trump will keep hold of Ohio and Missouri, known as bellwether states because they have so often predicted the eventual winner, according to the BBC’s projection.
Mr Trump is also projected by the BBC to win Nebraska, though Mr Biden picked up one vote there in the electoral college, which could turn out to be crucial.
No surprises have emerged yet in the other states.
Control of Congress – the two-chamber legislature – is also at stake. As well as the White House, Republicans are vying to hang on to a majority in the Senate. The House of Representatives is expected to stay in Democratic hands.
What are the candidates saying?
Mr Trump hosted an election night gathering inside the White House with about 100 guests.
In a speech at about 02:30 local time (07:30 GMT) he said: “We were getting ready to win this election. Frankly, we did win this election.”
He went on to allege “major fraud on our nation” without providing evidence, adding: “We’ll be going to the US Supreme Court.”
“We want all voting to stop,” the president said, apparently meaning that he wants to block the counting of postal ballots, which can be legally accepted by some state election boards after Tuesday’s election.
Millions of ballots have yet to be counted and there is no evidence of fraud.
Later he alleged in a tweet that there had been “surprise ballot dumps”, causing his lead in several states to disappear, again without providing any evidence. Twitter labelled the tweet as possibly disputed and misleading.