Republican Donald Trump and Democrat Bernie Sanders swept to victory in Tuesday's New Hampshire primaries, adding crucial credibility to their upstart candidacies and underscoring the insistence of voters in both parties on shaking up American politics.
While New Hampshire is known for its political surprises, Mr. Trump and Senator Sanders led in the state for months. Still, both needed to deliver on expectations after second-place finishes in last week's leadoff Iowa caucuses, where Ted Cruz topped the Republican field and Hillary Clinton narrowly edged Sanders in the Democratic race.
For some Republican leaders, Trump's and Senator Cruz's back-to-back victories add urgency to the need to coalesce around a more mainstream candidate to challenge those two through the primaries. However, it was unclear whether New Hampshire's contest would clarify that slice of the field, with Ohio Gov. John Kasich, Florida Sen. Marco Rubio and former Florida Gov. Jeb Bush all locked in a tight race, along with Cruz.
New Jersey Gov. Chris Christie, who has staked his candidacy on New Hampshire, lagged behind the pack in early vote counts.
Sanders pulled from a broad coalition of New Hampshire voters, gathering a majority of votes from men, independents and voters under 45, as well as a slim majority of women. Ms. Clinton won the majority of those over 65 and those with incomes over $200,000 a year, according to early exit polls conducted by Edison Research for The Associated Press and the television networks
Clinton's campaign argues she will perform better as the race heads to more racially diverse states, including Nevada and South Carolina. Both New Hampshire and Iowa are overwhelmingly white states that are far less diverse than the nation as a whole.
"A Democrat who is unable to inspire strong levels of support in minority communities will have no credible path to winning the presidency in the general election," Clinton campaign manager Robby Mook said in a memo released as the polls closed.
Both Sanders, a self-described democratic socialist, and Trump, a real estate mogul who has never held political office, have tapped into the public's frustration with the current political system. Even if neither candidate ultimately becomes his party's nominee, whoever does will have to reckon with those factions of voters.
Nearly half of voters in the Republican primary made up their minds in the past week. Republican voters were more negative about their politicians than Democrats, with about half of GOP voters saying they felt betrayed by party officials.
In a sign of Trump's impact on the race, two-thirds of GOP voters said they supported a ban on Muslims entering the US, a position the billionaire outlined last year amid rising fears of terrorism emanating from the Middle East.
After finishing behind Cruz in Iowa last week, Trump embraced some of the more traditional trappings of presidential campaigns, including smaller town hall events with voters. Still, he closed the final full day of campaigning with a vulgar insult of Cruz.
The Texas senator brushed off Trump's comments, saying the reason the businessman engages in insults "is because he can't discuss the substance."
The large Republican field was winnowed after Iowa, but there remains a crowded grouping of more traditional candidates, including Rubio and the governors.
Rubio had appeared to be breaking away after a stronger-than-expected showing in Iowa, but he stumbled in Saturday's debate under intense pressure from Christie. The New Jersey governor has relentlessly cast the young senator as too inexperienced and too reliant on memorized talking points to become president.
Rubio played into Christie's hands by responding with the same well-rehearsed line each time he was challenged by the governor. Rival campaigns hoped the moment was enough to give voters pause.
Kasich, Bush and Christie all poured enormous resources into New Hampshire in hope of jumpstarting their White House bids in a state that has been friendly to moderate Republicans. All three could face pressure from party leaders and financial donors to end their campaigns without a strong showing.
With 277 of 300 New Hamshire precincts counted, or 92 percent of the total vote, the Republican results:
x-Donald Trump, 94,893 - 35 percent
John Kasich, 42,733 - 16 percent
Ted Cruz, 31,436 - 12 percent
Jeb Bush, 29,866 - 11 percent
Marco Rubio, 28,382 - 11 percent
Chris Christie, 20,169 - 7 percent
Carly Fiorina, 11,260 - 4 percent
Ben Carson, 6,149 - 2 percent
Rand Paul, 1,767 - 1 percent
Total Write-ins, 1,731 - 1 percent
Mike Huckabee, 207 - 0 percent
Rick Santorum, 193 - 0 percent
Richard Witz, 174 - 0 percent
Andy Martin, 152 - 0 percent
Jim Gilmore, 129 - 0 percent
Joe Robinson, 127 - 0 percent
George Pataki, 77 - 0 percent
Lindsey Graham, 65 - 0 percent
Brooks Cullison, 54 - 0 percent
Tim Cook, 50 - 0 percent
Bobby Jindal, 50 - 0 percent
Frank Lynch, 47 - 0 percent
Stephen Comley, 29 - 0 percent
Chomi Prag, 15 - 0 percent
Daniel Dyas, 13 - 0 percent
Stephen McCarthy, 12 - 0 percent
Walter Iwachiw, 8 - 0 percent
Kevin Huey, 7 - 0 percent
Matt Drozd, 5 - 0 percent
Robert Mann, 5 - 0 percent
Peter Messina, 5 - 0 percent
Results for Democrats, with 92 percent counted:
x-Bernie Sanders, 142,146 - 60 percent
Hillary Clinton, 90,734 - 38 percent
Total Write-ins, 2,120 - 1 percent
Martin O'Malley, 602 - 0 percent
Vermin Supreme, 250 - 0 percent
David Thistle, 213 - 0 percent
Graham Schwass, 121 - 0 percent
Steve Burke, 97 - 0 percent
Rocky De La Fuente, 93 - 0 percent
Jon Adams, 50 - 0 percent
John Wolfe, 50 - 0 percent
Keith Judd, 42 - 0 percent
Lloyd Kelso, 42 - 0 percent
Eric Elbot, 34 - 0 percent
Star Locke, 31 - 0 percent
Mark Stewart Greenstein, 27 - 0 percent
Bill French, 26 - 0 percent
James Valentine, 24 - 0 percent
Edward O'Donnell, 22 - 0 percent
Robert Lovitt, 21 - 0 percent
Michael Steinberg, 18 - 0 percent
Henry Hewes, 17 - 0 percent
Steven Lipscomb, 17 - 0 percent
Bill McGaughey, 17 - 0 percent
Edward Sonnino, 17 - 0 percent
Sam Sloan, 15 - 0 percent
Brock Hutton, 14 - 0 percent
Raymond Moroz, 7 - 0 percent
Richard Weil, 7 - 0 percent
Pace reported from Washington. AP writers Lisa Lerer, Ken Thomas, Holly Ramer and Steve Peoples in New Hampshire and AP News Survey Specialist Emily Swanson in Washington contributed to this report.