President Donald Trump has accused Democrats without evidence of trying to steal Tuesday’s US election as the result hangs in the balance.
His Democratic challenger Joe Biden earlier appealed for calm as the nail-biting count drags on in five states.
While clinging to his edge in Nevada and Arizona, Mr Biden has been chewing into the Republican president’s lead in Pennsylvania and Georgia.
It follows one of the most rancorous presidential races in living memory.
What did Trump say?
In his first public remarks since appearing at the White House in the early hours of Wednesday, the president said: “If you count the legal votes, I easily win.
“If you count the illegal votes they can try to steal the election from us.”
Beyond allegations of irregularities, the Trump campaign has not presented any evidence of election fraud.
Speaking from the White House on Thursday, the president added: “We were winning in all the key locations, by a lot actually, and then our numbers started getting miraculously whittled away in secret and they wouldn’t allow legally permissible observers.”
Mr Trump’s critics have pointed out his lead is being cut into because he actively discouraged his supporters from voting by mail, while Mr Biden urged his voters to use postal ballots, and it is these votes that are now being tallied in the key states.
The president added: “There’s been a lot of shenanigans and we can’t stand for that in our country.”
What’s the reaction?
Some fellow Republicans who have in the past been rare voices of dissent against the president implicitly criticised his latest remarks.
Mitt Romney, the Utah senator who lost as the Republican presidential nominee in 2012, said: “The votes will be counted. If there are irregularities alleged, they will be investigated and ultimately resolved in the courts.
“Have faith in our democracy, in our Constitution, and in the American people.”
Also without naming the president, Illinois congressman Adam Kinzinger said: “If you have legit concerns about fraud present evidence and take it to court. Stop spreading debunked misinformation… This is getting insane.”
Maryland Governor Larry Hogan – who has previously spoken out against Mr Trump – was more forthright in his criticism.
“There is no defence for the President’s comments tonight,” he tweeted, “undermining our Democratic process. America is counting the votes, and we must respect the results as we always have before.”
But the just-re-elected Georgia Senator David Perdue tweeted in the president’s defence.
“Every lawful vote cast should be counted, once,” he said. “If that happens, I believe @realDonaldTrump will be re-elected.”
What did Biden say?
Earlier on Thursday, speaking from his campaign headquarters in Wilmington, Delaware, Mr Biden appealed for calm across the country.
In a brief televised address, the Democratic challenger again expressed confidence he would be declared the winner.
“Democracy is sometimes messy,” he said. “It sometimes requires a little patience as well.
“But that patience has been rewarded now for more than 240 years, the system of governance that has been the envy of the world.”
He added: “I asked everyone to stay calm. All people to stay calm. The process is working. The count is being completed. And we’ll know very soon.”
As results gradually trickle in, protests involving both sides have been held in major cities over the vote counting.
Embattled president lashes out
Donald Trump took to the White House press room on Thursday night in an attempt to project strength, but his comments belied the weakness of his current electoral position.
He focused on states he had won. And he talked about the leads he’d had in key swing states on Tuesday night, claiming without substantiation that they were being taken away from him now by fraud.
It was an acknowledgement, however, that those leads are vanishing – and could be gone soon.
He lashed out at pollsters, ballot-counters and Democrats and promised a flurry of lawsuits, although he presented no evidence of electoral misconduct.
He claimed ballots were being counted without observers (even though they are) and attributed the late surge by Mr Biden in mail balloting to fraud (it isn’t).
Already Republican officeholders are distancing themselves from Mr Trump’s remarks, perhaps wary of tying themselves too closely to a man could be on the precipice of defeat.
What’s the current state of the race?
Tuesday’s presidential election has a cliffhanger ending in the states of Wisconsin, Pennsylvania, Nevada, Arizona, Georgia, Michigan and North Carolina.
Mr Biden has since been declared the winner of Michigan and likely Wisconsin, while nail-biting vote counts involving razor-thin margins have kept America on edge in the other five states.
Mr Biden now has 253 electoral college votes, giving him a commanding lead in the race to accumulate the 270 needed to win the White House under the state-by-state US election system. Mr Trump has 214.
A win in just Pennsylvania or two of the other four remaining states would be enough to confirm as Mr Biden president-elect, barring any longshot legal challenge.
Mr Trump, meanwhile, needs to win Pennsylvania and three of the remaining four states: Georgia, North Carolina, Arizona and Nevada.
A senior Trump administration official told the BBC’s US partner CBS News that Mr Trump did not plan to concede if Mr Biden ultimately declared victory.
The unnamed official vowed the legal fight would go on, adding: “In a free and fair election the president will win.”
Mr Trump’s team has raised millions of dollars for a legal battle.
Former White House chief of staff Mick Mulvaney, meanwhile, predicted in a webinar hosted by a think tank earlier on Thursday that Mr Trump would “absolutely” run for president again in four years’ time if he lost to Mr Biden.
What’s the latest on counting?
Elections officials have also been calling for patience as they dismissed Trump campaign allegations of voting irregularities.
Pennsylvania Secretary of State Kathy Boockvar told a press conference that most ballots would be counted by Friday, but the race was still too tight to declare a result.
“It’s very close in Pennsylvania, right, there’s no question,” she said on Thursday. “That means it’s going to take longer to see who the winner is.”
Mr Trump was leading in Pennsylvania by just over 50,000 votes with 95% of ballots tallied.
In Georgia, Mr Trump led by fewer than 3,500 votes with 1% left to be counted.
Gabriel Sterling, a spokesman for Georgia’s Secretary of State, said he had seen no evidence of voter fraud, adding that election officials were “doing extremely well” under pressure.
In Arizona, Mr Biden was leading by under 57,000 votes with 88% of votes tallied.
CBS has categorised it as a “likely” win for the Democrat. Supporters of Mr Trump gathered on Thursday outside a vote-counting centre in Maricopa County.
With tens of thousands of ballots yet to be counted in Nevada, Mr Biden had an edge over Mr Trump.
An election official said the results from more than 51,000 mail-in ballots would be updated on Friday.
What legal action has the president taken?
The Republican president has filed a barrage of lawsuits challenging ballot tallies and alleging irregularities and lack of transparency.
The president demanded a recount in Wisconsin as is the right of any candidate who comes within one per cent of his rival in total vote there.
But Mr Biden was leading by 20,000 votes in Wisconsin, and election analysts say previous recounts in the state have usually only altered the final tally by a few hundred votes.
Trump campaign lawsuits filed in Michigan and Georgia were dismissed by state courts on Thursday.
But in Pennsylvania, the Trump campaign won a legal victory when a state appeals court judge said Republican poll-watchers must be permitted a closer look at ballot processing.
The president’s team also vowed to bring a lawsuit against what it claimed were voting irregularities in Nevada, without offering evidence.
At a news conference in Las Vegas on Thursday, former Nevada attorney general Adam Laxalt, a Trump campaign ally, claimed: “We believe that there are dead voters that have been counted.”
Biden attorney Bob Bauer said the lawsuits were legally “meritless” and designed “to message falsely about what’s taking place in the electoral process”.