DES MOINES, Iowa (AP) -- Texas Sen. Ted Cruz, a fiery conservative loathed by his own party's leaders, swept to victory in Iowa's Republican caucuses Monday, overcoming billionaire Donald Trump and Florida Sen. Marco Rubio. Among Democrats, Hillary Clinton and Bernie Sanders were deadlocked in a tight race.
Cruz's victory over Trump was a testament to his massive get-out-the-vote operation in Iowa and the months he spent wooing the state's influential conservative and evangelical leaders. It was also a harsh blow to Trump, the supremely confident real estate mogul who has riled the Republican field for months with controversial statements about women and minorities.
The Iowa caucuses kicked off voting in the 2016 presidential race, a tumultuous contest with unexpected candidates challenging both the Republican and Democratic establishments.
Candidates faced an electorate deeply frustrated with Washington. While the economy has improved under President Barack Obama, the recovery has eluded many Americans. New terror threats at home and abroad have increased national security concerns.
Voters at Republican caucuses indicated they were deeply unhappy with the way the federal government is working. Half said they were dissatisfied and 4 in 10 said they were angry, according to surveys conducted by Edison Research for The Associated Press and the television networks.
Six in 10 Democratic caucus-goers wanted a candidate who would continue Obama's policies. Young voters overwhelmingly backed Sanders, with more than 8 in 10 caucus-goers under the age or 30 backing the Vermont senator. Clinton won the majority of voters over age 45.
Both parties were drawing new voters. About 4 in 10 participants in each party said they were caucusing for the first time.
In Iowa, which has for decades launched the presidential nominating contest, candidates also faced an electorate that's whiter, more rural and more evangelical than many states. But, given its prime leadoff spot in the primary season, the state gets extra attention from presidential campaigns.
Iowa has decidedly mixed results in picking eventual nominees. The past two Republican caucus winners -- former Arkansas Gov. Mike Huckabee and former Pennsylvania Sen. Rick Santorum -- faded as the race stretched on. But Obama's unexpected 2008 victory was instrumental in his path to the Democratic nomination, easing the anxieties of those who worried the young black senator would struggle to win white voters.
Clinton was seeking to overcome the ghosts of her loss to Obama in 2008. Her campaign spent nearly a year building a massive get-out-the-vote operation in Iowa.
Yet she faced an unexpected challenge from Sanders, the self-declared democratic socialist from Vermont. Sanders drew big, youthful crowds across the state and his campaign was hoping for high turnout.
"We will struggle tonight if the voter turnout is low. That's a fact," Sanders told volunteers and supporters in Des Moines.
Cruz modeled his campaign after past Iowa winners, visiting all of the state's 99 counties and courting influential evangelical and conservative leaders. He spent the closing days of the Iowa campaign focused intensely on Rubio, trying to ensure the Florida senator didn't inch into second place. Rubio is viewed by many Republicans as a more mainstream alternative to Trump and Cruz.
Rubio, who previously lashed back at criticism, adopted the same reflective tone as many of his rivals on Monday, telling NBC that Cruz "has a very strong ground game." He dismissed attacks against him as "politics as usual."
The caucuses marked the end of at least one candidate's White House hopes. Even before the results were final, former Maryland Gov. Martin O'Malley ended his longshot bid for the Democratic nomination. So did Huckabee on the Republican side.
The threat of a snowstorm late Monday appeared to do little to deter voter turnout, though campaigns were still anxious that the weather could hinder the hopefuls in their rush out of Iowa.
Republicans John Kasich, Chris Christie and Jeb Bush were all spending Monday night in New Hampshire -- not only to get a jump on the snow but also on their competitors in a state with voters who are expected to be friendlier to more traditional GOP candidates.
While both parties caucused on the same night in Iowa, they did so with different rules.
Republicans vote by private ballot. The state's 30 Republican delegates are awarded proportionally based on the vote.
Democrats form groups at caucus sites, publicly declaring their support for a candidate. If the number in any group is less than 15 percent of the total, they can either bow out or join another viable candidate's group.
Those final numbers are awarded proportionately, based on statewide and congressional district voting, determining Iowa's 44 delegates to the national convention.
Pace reported from Washington. Associated Press writers Lisa Lerer, Scott McFetridge and Scott Bauer contributed to this report.