Pete Buttigieg has taken the lead in the Iowa caucuses, according to partial results from the chaotic first vote in the race to pick a Democratic White House candidate.
Iowa’s Democratic Party said results from 62% of precincts show Mr Buttigieg on 26.9% with Bernie Sanders on 25.1%.
Elizabeth Warren was third on 18.3% and Joe Biden fourth on 15.6%.
The eventual nominee will challenge President Donald Trump, a Republican, in November’s White House election.
Amy Klobuchar was on 12.6%, and Andrew Yang on 1.1%, according to the other preliminary results released on Tuesday evening from all of Iowa’s 99 counties. Tom Steyer and Tulsi Gabbard were on less than 1%.
But the state party has still not declared a winner from Monday’s vote, which was plagued by technical glitches.
The results represent the share of delegates needed to clinch the party nomination under America’s quirky political system. Iowa awards only 41 of the 1,991 delegates required to become the Democratic White House nominee.
But in the popular vote count, the partial results showed Mr Sanders leading with 28,220 ballots, while Mr Buttigieg was second at 27,030.
Ms Warren was third with 22,254, followed by Mr Biden at 14,176 and Ms Klobuchar at 13,357.
Iowa was the first contest in a string of nationwide state-by-state votes, known as primaries and caucuses, that will culminate in the crowning of a Democratic White House candidate at the party national convention in Milwaukee, Wisconsin, in July.
Eleven candidates remain in a Democratic field that has been whittled down from more than two dozen.
Where did it all go wrong?
Iowa Democratic party chairman Troy Price told a news conference on Tuesday evening the fiasco had been “simply unacceptable”.
“I apologise deeply for this,” he added. “This was a coding error,” but the data was secure and fully verified, he insisted, as he promised a thorough review.
State party officials earlier said the problem was not the result of “a hack or an intrusion”.
Officials were being dispatched across the Hawkeye state to retrieve hard-copy results.
They were matching those numbers against results reported from precincts via a mobile app that many precinct captains reported had crashed.
Voters flocked on Monday to more than 1,600 caucus sites, including libraries, high schools and community centres.
President Trump said earlier that the Iowa Democratic caucuses were an “unmitigated disaster”.
Who is Pete Buttigieg?
If elected, 38-year-old Mr Buttigieg would be the first openly gay US president.
He is the former mayor of South Bend, Indiana, a city of just over 100,000 people..
He is a former Harvard and Oxford University Rhodes scholar, who served as a military intelligence officer in Afghanistan and used to work for global management consultancy McKinsey.
Rivals say Mr Buttigieg, who is younger than Macaulay Culkin and Britney Spears, is too inexperienced to be US president.
But he says he is transformative outsider who can break the gridlock in Washington and defeat President Trump.
Campaigning in Laconia, New Hampshire, on Tuesday evening, Mr Buttigieg welcomed the preliminary results.
“A campaign that started a year ago with four staff members, no name recognition, no money, just a big idea, a campaign that some said should have no business even making this attempt, has taken its place at the front of this race to replace the current president with a better vision for the future,” he said.
Flames lick at Biden’s heels
We finally have some 2020 Iowa caucuses results to talk about. And they’re going to generate a lot of talk – and hand-wringing.
There are clear winners, as Bernie Sanders and Pete Buttigieg can both claim some kind of victory, depending on how the final tabulations come in.
There’s also a clear loser – Joe Biden. He entered Monday leading in some polls and hoping for a strong showing that would put to bed concerns that he is a flawed front-runner.
Instead those concerns are wide awake and pacing the room.
Unlike candidates like Mr Sanders, Elizabeth Warren and Mr Buttigieg, the Biden campaign coffers are thin – and this Iowa performance isn’t opening any cash spigots.
It could have been worse for the former vice-president – he could have had to give a fourth-place concession speech on Monday night – but the end result is the same.
He was unable to land a knock-out blow on fellow moderate Amy Klobuchar, while Mr Buttigieg and Mr Sanders both exit Iowa strengthened, suggesting Mr Biden could be staring at a third-place finish – or worse – in New Hampshire.
Until proven otherwise, Biden still has his southern-state firewall, based on support from elderly and black voters. But the flames are licking at his heels.
How have the other campaigns responded?
After pumping nearly $800m (£610m) into campaigning in Iowa, the rival campaigns expressed dismay at the debacle.
But aides to Mr Sanders, a Vermont senator, welcomed his strong position in the preliminary results.
Sanders adviser Jeff Weaver said: “We are gratified that in the partial data released so far it’s clear that in the first and second round more people voted for Bernie than any other candidate in the field.”
Ms Warren, a Massachusetts senator, and former US Vice-President Biden earlier on Tuesday questioned the state party’s decision to release partial results.
Biden campaign senior adviser Symone Sanders told reporters: “What we’re saying is there are some inconsistencies, that the process, the integrity, is at stake.”