Media playback is unsupported on your device Media caption Watch key moments from the Iowa speeches

Republicans and Democrats vying for their party's ticket for November's US presidential election have been arriving in New Hampshire ahead of the next vote.

Monday's caucuses in Iowa were won by Senator Ted Cruz for the Republicans and Hillary Clinton for the Democrats.

Mr Cruz prevailed despite trailing in opinion polls while Mrs Clinton beat Senator Bernie Sanders by just 0.2%.

New Hampshire is seen as a quite different challenge for the parties.

The state's more moderate and less religious electorate may prove a tougher nut for Mr Cruz to crack in the primaries it is due to hold on 9 February.

Donald Trump, long the frontrunner in the Republican contest, is expected to do much better than in Iowa, which held the nation's first vote.

On the Democrat side, Mr Sanders is seen as having a home advantage in New Hampshire over Mrs Clinton, being a senator of the neighbouring state of Vermont.

Image copyright Getty Images Image caption It was Ted Cruz's night in Iowa

Image copyright Reuters Image caption Marco Rubio's strong third place finish surprised many, and could give his campaign momentum

Even before Mrs Clinton's narrow victory was announced officially, Mr Sanders was up at 05:00 (10:00 GMT) and aboard a flatbed lorry, being greeted by supporters in the New Hampshire town of Bow.

Telling the crowd that his campaign had "astounded the world" in Iowa, he promised it would "astound the world again" in New Hampshire.

In the same state, Ms Clinton declared victory, saying she is "so proud [she is] coming to New Hampshire after winning Iowa".

"I've won and I've lost there, and it's a lot better to win," she said in reference to her loss in the state in 2008.

Media playback is unsupported on your device Media caption Hillary Clinton and Bernie Sanders are locked in a virtual tie at Iowa caucus

Image copyright Getty Images Image caption Bernie Sanders was in Concord, New Hampshire, early on Tuesday

Final results show Mrs Clinton took 49.8% in Iowa to Mr Sanders' 49.6% - a difference of just 0.2%.

Senator Cruz took 27.6% of the Republican vote to 24.3% for Donald Trump. In polling ahead of the vote, Mr Trump had the advantage.

Mr Cruz declared his win a "victory for courageous conservatives".

However, the big surprise came from Senator Marco Rubio, who finished a surprisingly strong third with 23.1% - just slightly behind Mr Trump.

For his part, Mr Trump gave a speech as the results became clear in which he congratulated Mr Cruz and said how much he appreciated his time in Iowa.

But the gloves appeared to come off on Tuesday, when Mr Trump broke his silence on Twitter.

"I don't believe I have been given any credit by the voters for self-funding my campaign, the only one. I will keep doing, but not worth it!" he wrote.

"I started out with all of the experts saying I couldn't do well there and ended up in 2nd place," he tweeted. "Because I was told I could not do well in Iowa, I spent very little there - a fraction of Cruz & Rubio. Came in a strong second."

The results determine how the state's delegates will be allocated, which ultimately determines who will become their party's nominee.

Iowa caucus results

Media playback is unsupported on your device Media caption Supporters of the US presidential candidates give their take on their favourite

Republican vote, 99% reported:

Ted Cruz: 27.6%, eight delegates

Donald Trump: 24.3%, seven delegates

Marco Rubio: 23.1%, seven delegates

Ben Carson: 9.3%, three delegates

Rand Paul: 4.5%, one delegate

Jeb Bush: 2.8%, one delegate

Chris Christie, Carly Fiorina, Jim Gilmore, Mike Huckabee, John Kasich and Rick Santorum: less than 2% each, no delegates

Democratic vote, 99% reported:

Hillary Clinton: 49.8%, 22 delegates

Bernie Sanders: 49.6%, 21 delegates

Martin O'Malley: 0.5%, no delegates

Source: Associated Press, Iowa Republican Party, Iowa Democratic Party

US election: Iowa results map

More on Senator Ted Cruz

What would a Cruz presidency be like? Imagining the first terms of Mr Cruz and other candidates

Three things Ted Cruz says: A 60-second summary of the Republican candidate's stump speech

The Texan Tea Partier: Ted Cruz's rapid, rocky ascension to presidential candidate

How does a US election work? If you want to be president, it helps to be governor, senator, or five-star military general - and have lots of patience

Special report: The BBC's full coverage of the race to the White House

The state-by-state voting will culminate in conventions in July, at which the two parties will confirm their choice of candidate to succeed Barack Obama, the Democratic president who is standing down after two terms in office.

From then, the nominees - and any third-party or independent candidates - will engage in high-energy campaigning until the final national vote in November.

The winner will assume office in January 2017.