Chaos in the Iowa Democratic caucuses, where contest results have been delayed by technical glitches, have been seized upon by Donald Trump as a victory.
The outcome of the first stage in the Democrat race to pick a candidate for November’s presidential election was left unsettled on Tuesday morning.
Democratic officials admitted that a “coding error” in the app used to report results was to blame.
Mr Trump easily won the Republican contest.
The debacle on the Democrat side, on the other hand, was “an unmitigated disaster,” he tweeted. “The only person that can claim a very big victory in Iowa last night is ‘Trump'”.
Votes for the Democratic contest will be tabulated by hand and reported later, officials said.
However, the indeterminate result on the night has created scepticism of the caucus process and reignited questions over whether Iowa – a rural, white state not representative of the US electorate as a whole – should continue to be the place to hold the first primary contest.
Mr Trump dismissed the suggestion. “As long as I am President, Iowa will stay where it is. Important tradition!” he tweeted.
Democrats hoping to take him on in this year’s election have set their sights forward.
Many have already landed in New Hampshire, where the next primary contest is due to be held on Tuesday, 11 February.
What happened at the caucuses?
On Monday, voters flocked to more than 1,600 schools, libraries and churches in Iowa to have their say in who should be on the ballot in the November presidential election.
Mr Trump easily won the Republican contest with 97% of the vote, but a winner was not declared in the Democratic race.
Despite the absence of results, several candidates claimed victory.
Vermont Senator Bernie Sanders spoke of winning in Iowa’s caucuses, citing internal campaign data that placed him ahead of Pete Buttigieg, the former mayor of South Bend, Indiana.
Earlier, Mr Buttigieg told supporters that “by all indications” his campaign was “going to New Hampshire victorious”.
The story of how a chaotic night unfolded
A simple guide to US primaries and caucuses
The vote in Iowa was a caucus – which involves people attending a meeting before voting on a candidate, perhaps via a head count or a show of hands.
Voters in primaries – like the vote in New Hampshire – can just turn up at a polling booth and vote in secret.
What are the organisers saying about the Iowa situation?
The Iowa Democratic Party (IDP) initially denied reports that the app had caused problems.
Mandy McClure, the party spokeswoman, said there were “inconsistencies in the reporting of three sets of results” that was simply a “reporting issue”.
“The underlying data and paper trail is sound and will simply take time to further report the results,” she said.
However, on Tuesday Tom Price, the IDP Chairman, admitted that an error in the app had caused the chaos.
An investigation found that “the underlying data collected via the app was sound,” but only part of the data was being displayed in reports, Mr Price said.
“We have determined that this was due to a coding issue in the reporting system,” he said. “This issue was identified and fixed.”
He expected full results to be declared on Tuesday, he said, adding: “While our plan is to release results as soon as possible today, our ultimate goal is to ensure that the integrity and accuracy of the process continues to be upheld.”
Rules on reporting were changed for this year, with Iowa Democrats required to report three numbers to party headquarters, rather than just the final delegate totals.