President Trump may have begun the weekend feeling positive - an indictment levelled against 13 Russians for interfering with the 2016 election had not accused him or anyone around him of wrongdoing. ''No collusion'' was his refrain.
But once he began watching TV at his Florida estate on Friday, the president's mood began to darken as it became clearer to him that some commentators were portraying the indictment as nothing for him to celebrate, according to a New York Times report citing three people with knowledge of his reaction.
Those TV commentators called it proof that he had not won the election on his own, a particularly galling, if not completely accurate, charge for a president long concerned about his legitimacy.
What followed was a two-day Twitter tirade that was unusually angry and defiant even by Trump's standards. In his tweets on Sunday, Trump sought to shift the blame to Democrats for Russia's meddling, saying that President Barack Obama had not done enough to stop the interference.
The president denied - despite the ample evidence to the contrary - that he had ever suggested that Moscow might not have been involved. He called Representative Adam B Schiff of California, the top Democrat on the House Intelligence Committee, a ''monster''. And he asserted that the Russians were ''laughing their asses off'' because the efforts to investigate and combat Moscow's meddling had only given the Russians what they wanted.
''If it was the GOAL of Russia to create discord, disruption and chaos within the US then, with all of the Committee Hearings, Investigations and Party hatred, they have succeeded beyond their wildest dreams,'' Trump wrote.
The president's outburst ended a relatively subdued period after the deaths of 17 people in the shooting at a high school in Parkland, Fla, on Wednesday. He spent the following days praising law enforcement officials and emergency responders, and calling officials in Florida to receive updates – though it was widely noted that he said nothing about reforming America's lax gun laws.
Trump met with two shooting victims in an unannounced visit to a Florida hospital on Friday evening, White House officials said.
As he shunned the golf course over the weekend, he instead spent time mingling with his supporters, including Geraldo Rivera. Rivera said on Twitter on Sunday that he had seen firsthand that the president ''was deeply affected'' by the time he had spent with victims, ''impressed by their courage'' and ''equally distressed by the savagery of their wounds''.
But Trump also had time to stew over news coverage of the indictment against the Russians secured by Robert S Mueller III, the special counsel leading an investigation into the Trump campaign's contacts with Russia. And he was surrounded in Florida by people who are likely to share his grievances: his two oldest sons, as well as John F Kelly, his chief of staff, and Dan Scavino Jr, the White House social media director, who often emulates his boss's prose on Twitter.
The indictment says that while the Russians began their scheme in 2014 with the goal of undermining the American democratic system, they eventually shifted their focus to trying to help elect Trump and disparage his opponent, Hillary Clinton.
The president has repeatedly seized on the fact that the efforts started before he became a candidate, but he has glossed over the conclusion that they evolved toward supporting his candidacy.
The indictment does not assert any wrongdoing by the president or anyone affiliated with him, saying that some members of the Trump campaign were unwitting in their contacts with the Russian effort. It is also silent about whether the Russian campaign affected the election results.
Trump has long fought the idea that Moscow's efforts might have influenced the election, branding it as a ''hoax'' perpetrated by Democrats embarrassed about losing to him. He has made little if any public effort to rally the nation to confront the Russians for their intrusion.
The president's Twitter eruption began late Saturday night, when he accused the Federal Bureau of Investigation of having missed signals that could have prevented the school shooting because it was ''spending too much time trying to prove Russian collusion with the Trump campaign''.
He then lashed out at his national security adviser, Lt Gen H R McMaster, who had said at a security conference in Germany on Saturday that the indictment provided ''incontrovertible'' evidence that Russia had interfered in the American democratic system.
Trump said his adviser had ''forgot to say that the results of the 2016 election were not impacted or changed by the Russians and that the only Collusion was between Russia and Crooked H, the DNC and the Dems.'' The nation's intelligence agencies believe that it is not possible to make such a calculation about the election outcome.
Then, on Sunday, Trump said that he had ''never said Russia did not meddle in the election,'' quoting a comment he had made in a 2016 presidential debate.
''I said 'it may be Russia, or China or another country or group, or it may be a 400 pound genius sitting in bed and playing with his computer,'' Trump wrote. ''The Russian 'hoax' was that the Trump campaign colluded with Russia - it never did!''
Yet he has repeatedly denied that Russia was behind any meddling, going so far in November as to suggest that he believed President Vladimir V Putin's denials of interference over the conclusions of American intelligence agencies.
While the deputy attorney general, Rod J Rosenstein, had noted repeatedly in announcing the indictment that it does not say that Russia changed the outcome of the election, Trump was angry because his own team had not gone further in his defence.
That included General McMaster, who, as an active duty military officer, takes the constrictions on what he can say politically very seriously. When he spoke in Germany, McMaster did not believe he could go further than the cold facts of the document, a reality that deeply frustrated the president, two administration officials said.