Donald Trump has been elected the 45th president of the United States following a controversial campaign.

During his race with Hillary Clinton for the White House, Mr Trump made several contentious remarks which were later debunked.

Here is a collection of the lies and mistruths Mr Trump told during the US election campaign, many of which were fact-checked by PolitiFact.

Barack Obama 'screamed at a protester'

Mr Trump branded President Obama's response to a protester a "disgrace" and accused him of "screaming" at the man.

President Donald Trump life in pictures Show all 16 1 /16 President Donald Trump life in pictures President Donald Trump life in pictures Donald Trump poses in a rocking chair once used by President John F. Kennedy at his New York City residence Reuters President Donald Trump life in pictures Developer Donald Trump with his new bride Marla Maples after their wedding at the Plaza hotel in New York Reuters President Donald Trump life in pictures Donald Trump and Celina Midelfart watch the match between Conchita Martinez and Amanda Coetzer during U.S. Open. She was the date whom Donald Trump was with when he met his current wife Melania at a party in 1996 Reuters President Donald Trump life in pictures U.S. Supreme Court Justice Clarence Thomas serving as the grand marshal for the Daytona 500, speaks to Donald Trump and Melania Knauss on the starting grid at the Daytona International Speedwa Reuters President Donald Trump life in pictures Developer Donald Trump talks with his former wife Ivana Trump during the men's final at the U.S. Open Reuters President Donald Trump life in pictures Donald Trump and his friend Melania Knauss pose for photographers as they arrive at the New York premiere of Star Wars Episode : 'The Phantom Menace,' Reuters President Donald Trump life in pictures Billionaire real estate developer Donald Trump talks with host Larry King. Trump told King that he was moving toward a possible bid for the United States presidency with the formation of a presidential exploratory committee Reuters President Donald Trump life in pictures Donald Trump answers questions as Minnesota Governor Jesse Ventura looks on in Brooklyn Park. Trump said on Friday he 'very well might' make a run for president under the Reform Party banner but had not made a final decision Reuters President Donald Trump life in pictures Billionaire Donald Trump makes a face at a friend as he sits next to Panamanian President Mireya Moscoso before the start of the 2003 Miss Universe pageant in Panama City Reuters President Donald Trump life in pictures Entrepreneur Donald Trump is greeted by a Marilyn Monroe character look-a-alike, as he arrives at Universal Studios Hollywood to attend the an open casting call for his NBC television network reality series 'The Apprentice.' Reuters President Donald Trump life in pictures Donald Trump and Simon Cowell present an Emmy during the 56th annual Primetime Emmy Awards at the Shrine Auditorium in Los Angeles Reuters President Donald Trump life in pictures Donald Trump and Megan Mullally perform at the 57th annual Primetime Emmy Awards at the Shrine Auditorium in Los Angeles Reuters President Donald Trump life in pictures Donald Trump, poses with his children, son Donald Trump, Jr., and daughters Tiffany and Ivanka Reuters President Donald Trump life in pictures Billionaire Donald Trump told Miss USA 2006 Tara Conner on Tuesday she would be given a second chance after reported misbehavior Reuters President Donald Trump life in pictures Donald Trump holds a replica of his star on the Hollywood Walk of Fame as his wife Melania holds their son Barron in Los Angeles Reuters President Donald Trump life in pictures U.S. property mogul Donald Trump stands next to a bagpiper during a media event on the sand dunes of the Menie estate, the site for Trump's proposed golf resort, near Aberdeen, north east Scotland Reuters

However, the president-elect's version of events appears to differ significantly from reality, as Mr Obama told the crowd: "You've got an older gentleman who is supporting his candidate. He's not doing nothing. You don't have to worry about him."

"We live in a country that respects free speech. Second of all, it looks like he might have served in our military and we got to respect that. Third of all, he was elderly, and we got to respect our elders."

Groping allegations 'largely debunked'

Mr Trump said allegations he had groped or kissed nine women without their consent had been debunked during the third presidential debate.

Loading....

"Nobody has more respect for women than I do, nobody," Mr Trump said. "And frankly, those stories have been largely debunked."

While some accounts have been challenged, none have yet been shown to be untrue.

He won the second debate 'in a landslide' in 'every poll'

Mr Trump claimed he won the second debate "in a landslide" in "every poll," however most polls actually said Ms Clinton won the debate.

Climate change is a 'hoax'

Mr Trump claimed during the election he was an environmentalist and "a believer in the environment".

However, in 2012 he claimed the concept of global warming "was created by and for the Chinese".

There are '30 million' illegal migrants

Outlining his policies on immigration, Mr Trump said the government doesn't know the number of illegal migrants.

"Honestly we've been hearing that number for years. It's always 11 million. Our government has no idea. It could be 3 million. It could be 30 million," he said. "They have no idea what the number is."

The US Homeland Security Department last estimated the size of the undocumented immigrant population in 2012, when it was at 11.4 million.

Donald Trump is the President-elect of the United States (Getty)

Clinton would let in 650 million people in one week

Similarly, Mr Trump claimed Ms Clinton would "have 650 million people pour into our country... You triple the size of our country in one week".

The US is home to around 324 million people. To get anywhere close to Mr Trump's claim, every single person from South America, Central America and Canada would have to move to the United States, according to the Washington Post.

Barack Obama was not born in the US

Mr Trump spent five years questioning Mr Obama's citizenship and his religion.

Eventually, he blamed Ms Clinton's campaign and Sidney Blumenthal for starting the "birther" rumour.

However, there is no evidence Ms Cilnton or Mr Blumenthal had anything to do with the movement.

$6 billion went missing from the State Department under Clinton

During the final presidential debate, Mr Trump claimed the State Department lost $6 billion under Ms Clinton's tenure.

Ms Clinton replied: "Well, first of all, what he just said about the State Department is not only untrue, it's been debunked numerous times."

His claim has been debunked several times.

Donald Trump met with President Vladimir Putin

US Election results: Donald Trump takes the White House

During the final presidential debate, Mr Trump denied ever meeting Russian President Vladimir Putin

"I dont know Putin. I have no idea," Mr Trump said. "I never met Putin. This is not my best friend."

However, Mr Trump has claimed several times in the past to have met Mr Putin.

'I did not support the war in Iraq'

Mr Trump has claimed several times he was against the Iraq war, however no evidence exists of his early opposition to the invasion.

He expressed lukewarm support the first time he was asked about it on 11 September, 2002, and was not clearly against it until he was quoted in the August 2004 Esquire cover story titled “Donald Trump: How I’d Run the Country (Better)".

'Check out sex tape' tweet

When asked about his early morning tweets directing people to "check out" a sex tape as he criticised a former Ms Universe, Mr Trump said: "It wasn't 'check out a sex tape'".