The results are in from the US election and President-elect Donald Trump has won the race for the White House.

It wasn't long after the first polls closed that it became apparent Mr Trump had outperformed expectations.

At that stage, forecasts shifted to reflect what was poised to be a close race. In the end, the Republican beat Hillary Clinton comfortably.

Mr Trump held onto every state won by Mitt Romney in 2012, and then went on to claim every swing state that we identified here as being up for grabs at the half-way point.

With 93 per cent of its votes counted, the result in New Hampshire is just 0.1% in Mr Trump's favour - meaning that state's four electoral college votes could still go either way.

But not including New Hampshire, the final tallies for the two candidates look set appear to be 306 for Mr Trump and 228 for Ms Clinton.

Here's how Mr Trump got to 270 and beyond.

Florida

This was the first big result which showed Mr Trump had a realistic chance of finding a path to 270. The vote tightened right at the end but the Republican held on, taking the state by just a single percentage point.

Ohio

Ohio is famously consistent at picking the winner of the election as a whole - and so it made a splash when this result came in.

It wasn't the most surprising of Mr Trump's victories but the margin of his win here, with 52 per cent to Ms Clinton's 43 per cent, was a sign of things to come.

North Carolina

An important swing state which saw plenty of visits from both sides throughout the campaign.

It only edged Mr Trump up by four electoral votes - but he took it much more comfortably than expected, with a four-point margin.

Pennsylvania

Pennsylvania hasn't chosen a Republican candidate since 1988, and was polling so far in Ms Clinton's favour that it didn't even rank as a swing state among some analysts.

Yet late on in the count, Mr Trump suddenly took a lead here - and when he finally clinched it by a single percentage point, it became clear Ms Clinton was finished.

Wisconsin

A traditional blue state since 1984 that was barely even considered a battleground, yet started going very badly for the Democrats almost as soon as counting began.

Mr Trump eventually converted that lead to a three-point win in the state.