Five big things from Trump’s head-spinning week - BBC News
Recent days have distilled all the chaos, drama and conflict of his presidency down to its purest form.
This week in Washington has distilled all the chaos, upheaval, drama and conflict of the first two years of the Donald Trump presidency down to its purest form.

It's been a bungee jump from high to low, then careening everywhere in between - and it's not altogether clear that it won't end with the loud and final thud of an impact on the ground.

Here's a look at the crises - plural - that have unfolded in the past few days.

Most, if not all, are of the president's own making. Mr Trump campaigned as a disrupter, and this week has been disruption in the extreme.

At the end of last week it appeared that Congress was on a glide path toward avoiding a partial shutdown of the federal government.

Then, on Thursday, everything went haywire. After the White House had signalled it would support the stopgap funding measure, hard-core conservative media outlets and politicians demanded the president draw a line in the sand over building his much-promised border wall.

Mr Trump abruptly changed course, announcing that "any measure that funds the government must include border security". The fact he's stopped calling for a wall and instead asked for border security and "metal slats" - fencing - is a concession that might have meant something if it was made weeks ago, and not under the shadow of a shutdown.

This video can not be played To play this video you need to enable JavaScript in your browser. Let the bickering begin ... who will be blamed for a shutdown?

The irony is that the warning was made at a signing ceremony for bipartisan farm legislation, during which the president touted another recently passed bill reforming the criminal justice system. Green shoots of inter-party co-operation appeared this week, only to be met with the herbicide of wall acrimony.

The House of Representatives seems solidly behind including wall funding in any bill. But the Senate, with only 51 Republicans and unified Democratic opposition, is well short of the 60 votes needed to agree to such a measure. And if enough House members change their mind, there's always the chance that the president will veto a stopgap bill without any funding for the wall.

The dynamic changes considerably on 3 January, when Nancy Pelosi and the Democrats take over the House.

At that point, the door slams shut on wall funding ever being approved in the House. The Senate may very well acquiesce to a new wall-free spending bill and the president becomes the final roadblock.

Would he back down, giving the House Democrats an early win? That may be a bitter pill to swallow.

For Mr Trump, however, the pain he appears to fear from his supporters seems to outweigh in his mind the political discomfort from a shutdown.

If Mr Trump's pivot on budget funding was surprising, his unexpected announcement that he's pulling the 2,000 US troops out of Syria - and reports of plans for thousands more coming home from Afghanistan - was an electric shock through the US foreign policy establishment.

The fact that the president, who campaigned in part on drawing down US involvement obligations abroad, might contemplate such a move is not unexpected. The manner in which the announcement was made, with little apparent consultation with senior government officials or US allies abroad, is the primary source of upheaval - and the cause for concern among even those who might otherwise support the decision.

This video can not be played To play this video you need to enable JavaScript in your browser. Is this the end for Islamic State?

Then came the exclamatory punctuation mark at the end of the drawdown drama. Defence Secretary James Mattis, perhaps the most universally respected member of Mr Trump's Cabinet, announced he was resigning because of differences of opinion he has with the president. In his announcement, he offered full-throated support for the US alliance structure and a warning that the US must serve as a counterweight to authoritarian rivals.

Then came his parting shot.

"Because you have the right to have a Secretary of Defence whose views are better aligned with yours on these and other subjects, I believe it is right for me to step down from my position," he wrote.

It was one of the most direct suggestions of disapproval from any of Mr Trump's ever-expanding list of former advisers and Cabinet secretaries.

All of this raises the question, why did the president act now? There has been some speculation that it may be tied the budget fight over the Mexican border wall. If people tell the president there's not enough money, then he'll reduce US commitments abroad. Others have suggested the move was a distraction in the midst of an unpleasant news cycle. Or perhaps it was a move to placate Turkey or - an evergreen explanation - Russia.

Whatever the reason, Mr Trump has roiled his supporters in the US Senate at a time when he needs them most. In the past, Republican politicians have managed to walk the line between offering tuts of disapproval for presidential actions they don't like, while still voting lockstep for conservative policy priorities.

In the coming days, however, this straddling effort will be tested like never before.

In a recent article in The Atlantic, Benjamin Wittes and Mikhaila Fogel compare Robert Mueller's special counsel investigation of possible Russian ties to the Trump presidential campaign to a siege on a walled city.

If the investigation is "a campaign of degradation over a substantial period of time", this week brought a number of new volleys that could hasten the eventual collapse.

There was Michael Flynn's sentencing fiasco, in which Mr Trump's former national security adviser admitted in open court that he knowingly lied to the FBI and wasn't tricked or trapped into it. The judge, Emmet Sullivan, then suggested he sold his country out.

Facing the prospect of an angry judge threatening jail time, Flynn's lawyers asked for a sentencing delay - dangling the possibility of more co-operation by Flynn and guaranteeing this portion of the Mueller investigation will stretch on until at least March.

Meanwhile, the Senate released two investigations into Russian social media campaigns to influence the 2016 presidential election.

They indicated the scope of the attack was much wider than previously known. The efforts reached hundreds of millions of people on Facebook, Twitter, Instagram, YouTube and other services, engaging conservatives and discouraging key voting blocs on the left, all in an attempt to help Mr Trump's presidential bid.

The president and his supporters have dismissed evidence of Russian meddling as blame-shifting by Democrats seeking an excuse for their 2016 defeat. With these reports, that becomes a more difficult case to make.

What's still not known is if there are any direct links between the Russians and the Trump team. Rumours swirl of new Mueller indictments on the horizon, however, perhaps of Trump confidant Roger Stone, who had contacts with WikiLeaks, the group that released hacked Democratic documents.

Then there's the NBC News report that Mr Mueller could release his findings and conclusions in mid-February - which, although it seems like an eternity in US politics these days, is just two months away.

The clock is ticking - providing a possible explanation for Mr Trump's dyspeptic attitude of late.

There was evidence as early as 2016, thanks in large part to the efforts of the Washington Post's David Fahrenthold, that Donald Trump frequently used his family's charitable foundation - funded in large part by donations from other people - to settle business lawsuits, buy baubles at auctions and, during the presidential campaign, advance his political interests.

Any of this could qualify as "self-dealing" and put the charity's tax status at risk.

The controversies swirling around the foundation attracted the attention of the Democrat-run attorney general's office in New York, which launched an investigation. On Tuesday, they negotiated the dismantling of the charity.

Mr Trump and his lawyers explained that they wanted this all along, and that the entire inquiry was the result of "sleazy Democrats". But this is another dark cloud that won't be disappearing anytime soon.

Barbara Underwood, in a statement heralding the action, called the foundation "little more than a chequebook" for the Trumps, with activity that displayed "a shocking pattern of illegality".

What's more, she said, the state would continue to seek millions of dollars in back taxes and fines from the Trump Organization, and sanctions against the president and his three oldest children.

During the 2016 campaign, Mr Trump repeatedly criticised Hillary Clinton and her family's much-larger operating foundation. Two years later, however, it's the president's charity that remains in the headlines.

Mr Trump has spent much of his presidency touting the seemingly endless ascent of the US stock market.

"The Stock Market just reached an All-Time High during my Administration for the 102nd Time, a presidential record, by far, for less than two years," he tweeted in early October.

Politicians who hitch their star to the stock market, however, can be in for a bumpy ride. Since Mr Trump wrote that tweet, the Dow Jones Industrial Average has fallen more than 4,300 points - a 16% decline.

Due to a combination of rising interest rates, the president's trade wars, the impending government shutdown and indications of slower economic growth, the now long-in-the-tooth bull market may be coming to an end. December has seen the biggest market decline since the Great Depression and the largest drop in any month since 2009.

Larger economic indicators, such as GDP growth, unemployment and consumer confidence, are still strong. The current economic expansion is now entering its 13th year, however, and no one has yet discovered how to outwit the business cycle.

What goes up eventually comes down (at least a bit), and the timing may not be good for the president.