Trump's promises before and after the election
Donald Trump made a string of promises during his long campaign to be the 45th president of the United States.
Many of them made headlines - from banning all Muslims entering the US, to building a wall along the border with Mexico.
But months in to his presidency, it is clear he has shifted his stance on a number of key issues.
Troops in Afghanistan
Before: Long before he ran for president, Mr Trump posted a number of tweets calling for an end to US involvement in Afghanistan. They were similar in tone to this one from 2013: "Our troops are being killed by the Afghanis we train and we waste billions there. Nonsense! Rebuild the USA."
But his stance changed during last year's presidential election, when he said US troops would probably have to stay in order to avoid the total collapse of the Afghan government, and to keep a check on neighbouring nuclear-armed Pakistan.
After: He has committed the US Army to the open-ended conflict, saying his approach will be based on conditions on the ground and will not have time limits. He also said he would get tough on Pakistan, who he criticised for offering "safe havens" to extremists - claims rejected by Pakistan.
US Defence Secretary Jim Mattis confirmed Mr Trump's strategy in an announcement that the US would send 3,000 additional troops to Afghanistan.
Cuba thaw no more
Before: Mr Trump said in September 2016 that he would reverse the deal President Barack Obama had struck to reopen diplomatic relations and improve trade.
After: As president, he told an audience in Miami that he was "cancelling the Obama administration's one-sided deal." But in reality, he has only rolled back certain parts, placing restrictions on travel and business.
Paris climate deal
Before: As a candidate, Mr Trump derided climate change as a hoax concocted by China, and the regulations of Paris as stifling to American growth.
After: After three months of prevarications behind the closed doors of 1600 Pennsylvania Avenue, the president came down decisively on the side near the exits. Quitting the Paris deal, signed by nearly 200 countries, will take a few years but this is unequivocally a promise kept.
- Reaction to Trump Paris deal decision
- Why does Trump want to leave climate deal?
- What is the Paris climate agreement?
Before: One of Mr Trump's trademark rally pledges was to repeal and replace Obamacare - his predecessor's attempt to extend healthcare to the estimated 15% of the country who are not covered.
It is widely hated by Republicans, who say the law imposes too many costs on business, with many describing it as a "job killer" and decrying the reforms - officially the Affordable Care Act - as an unwarranted intrusion into the affairs of private businesses and individuals.
After: Within two days of his election he softened his approach, saying he wanted to keep the "strongest assets".
But the Republican healthcare plan came to a juddering halt in the Senate, where it did not even have enough support to bring it to the floor for a vote. The president backed it but it was mauled by doctors' groups, hospitals and other parts of the medical industry, mainly because of its deep cuts to Medicaid, the health programme for the poor, and fears that millions would lose insurance.
A border wall paid for by Mexico
Before: His vow to build a wall along the US-Mexican border was one of the most controversial of Mr Trump's campaign promises.
Mr Trump also insisted that Mexico would pay for it.
After: Mexico maintains it will never pay for it, and even the president has conceded that the US will have to pay up front and then seek reimbursement in some way.
The US Congress is exploring funding options for the wall, but many Republicans will be unhappy about footing a bill which could rise to $21.5bn (£17.2bn), according to a Department of Homeland Security internal report.
That's much higher than Mr Trump's estimated price tag of $12bn (£9.6bn).
There are also landowners who protest against a "government land grab" - and a lawsuit from an environmental group launched in April.
"We're building the wall," he said in February. "In fact it's going to start very soon."
Before: Mr Trump called Nafta "a disaster" and warned that the TPP "is going to be worse, so we will stop it."
After: Mr Trump pledged to withdraw from the Trans Pacific Partnership (TPP). He did in his first few days.
And he vowed to renegotiate the North American Free Trade Association (Nafta) and, after threatening to pull out, the White House has said that Canada and the US have agreed to talks.
Ban on Muslims
Before: Mr Trump initially promised to ban all Muslims entering the US - a "total and complete" shutdown should remain until the US authorities "can figure out what's going on".
But he switched to "extreme vetting" after he became the party's presidential candidate.
After: As president, he has introduced two travel bans, which have both become ensnarled by legal challenges. The second was a slightly watered-down version of the first, but a judge in Hawaii said barring people from six mainly Muslim countries, even temporarily, violated constitutional protections against religious discrimination. Another judge in Maryland cited Trump campaign statements as evidence.
President Trump has railed against "judicial overreach" and hinted that he may take the case to the Supreme Court.
Deporting all illegal immigrants
Before: Mr Trump repeatedly told his supporters that every single undocumented immigrant - of which there are 11.3 million - "have to go".
After: As polling day approached, his stance began to soften slightly, then after the election he scaled it back to some two to three million deportations of people who "are criminal and have criminal records, gang members, drug dealers".
The Migration Policy Institute, a US-based think tank, has one of the higher figures for illegal immigrants with criminal records, which it puts at 890,000, including people charged with crossing the border illegally.
The number of removals peaked in 2012 and has been falling since. It is too early to say if there has been an increase since President Trump's inauguration.
He stunned Republicans in September when he agreed to a budget deal with Democrats that could also see protections for young undocumented immigrants known as Dreamers.
Mr Trump had previously cancelled the Obama-era Deferred Action for Childhood Arrivals (Daca) programme, which allows some 800,000 people to remain in the US, but said he was giving Congress six months to enact a replacement plan.
After meeting senior Democrats, Mr Trump said he was "fairly close" to a deal on Daca and tweeted: "Does anybody really want to throw out good, educated and accomplished young people who have jobs, some serving in the military?"
Before: Mr Trump repeatedly questioned the military alliance's purpose, calling it "obsolete". One issue that bugged him was whether members were pulling their weight and "paying their bills". In one New York Times interview in July 2016, he even hinted that the US would not come to the aid of a member invaded by Russia.
After: But as he hosted Nato Secretary General Jens Stoltenberg at the White House in April, the US president said the threat of terrorism had underlined the alliance's importance. "I said it [Nato] was obsolete," Mr Trump said. "It's no longer obsolete."
Before: During a speech in Iowa in November 2015, Mr Trump warned that he would, using an expletive, bomb so-called Islamic State into obliteration.
After: The president dropped the biggest non-nuclear bomb in the US arsenal on an IS-stronghold in Afghanistan.
China as currency manipulator
Before: Mr Trump repeatedly pledged to label Beijing a "currency manipulator" on his first day in office, during an election campaign when he also accused the Asian powerhouse of "raping" the US. China has been accused of suppressing the yuan to make its exports more competitive with US goods.
After: He told the Wall Street Journal in April that China had not been "currency manipulators" for some time and had actually been trying to prevent the yuan from further weakening.
Supreme Court nominee
Before: "I am looking for judges and have actually picked 20 of them. They'll respect the Second Amendment and what it stands for and what it represents."
After: He vowed to appoint a conservative justice and he has - Neil Gorsuch. It took a procedural change to Senate rules, but it's a victory nonetheless.
Before: Mr Trump said he would approve waterboarding "immediately" and "make it also much worse", adding "torture works".
After: But after his inauguration, the president said he would defer to the opposing belief, espoused by Defence Secretary James Mattis and CIA director Mike Pompeo.
Mr Pompeo said during his confirmation hearing said he would "absolutely not" reinstate such methods.
Prosecuting Hillary Clinton
Before: "Lock her up" was one of the main rallying cries of Mr Trump's supporters.
They wanted to see Democratic rival Hillary Clinton in prison over the use of her private email server while secretary of state.
And Mr Trump was more than willing to back their calls for, at the very least, a fresh investigation. During the debates, he told Mrs Clinton: "If I win, I am going to instruct my attorney general to get a special prosecutor to look into your situation."
After: The president-elect's tone changed almost as soon as he had won, describing the woman he had said was "such a nasty woman" as someone the country owed "a debt of gratitude". Later, he said he "hadn't given [the prosecution] a lot of thought" and had other priorities.
On 22 November, Mr Trump's spokeswoman said he would not pursue a further investigation - to help Mrs Clinton "heal".
Before: The country's infrastructure "will become, by the way, second to none, and we will put millions of our people back to work as we rebuild it", he said in his victory speech in November.
After: Has repeated his vow to spend big on the country's roads, rail and airports, but no sign yet of action.
Moving Israel embassy
Before: Mr Trump pledged during his campaign to move the embassy from Tel Aviv to Jerusalem, a divided city which both Israelis and Palestinians claim.
After: He approved a waiver to keep the embassy in place, but suggested in a statement that it would be eventually relocated. "The question is not if that move happens, but only when," the White House said, adding the decision was taken in order to "maximize the chances of successfully negotiating a deal between Israel and the Palestinians".
Other policy shifts
- Used to blast Janet Yellen, head of the Federal Reserve, but now says he respects her
- Dismissed the Export-Import Bank while campaigning but now says it has helped small companies
- On his first day, he signed a memo ordering a freeze on federal hires, but by April that was gone