Secretary of State Rex Tillerson was asleep in his Nairobi hotel room early Saturday morning fighting a stomach bug when White House Chief of Staff John Kelly called to wake him around 2 a.m. to relay a terse message from President Donald Trump: The boss was not happy.
The president was so eager to fire Tillerson that he wanted to do so in a tweet on Friday, but Kelly persuaded Trump to wait until his secretary of state was back in the United States from Africa, two people familiar with the conversation said. It was Tillerson's first trip there since Trump disparaged parts of the continent as "shithole countries."
But Kelly had also warned Tillerson to possibly expect a pejorative tweet from Trump over the weekend, a State Department official said. Tillerson failed to fully understand that the chief of staff was gently signaling to him that he was about to be fired.
And so, just over four hours after Tillerson's government plane touched down at Joint Base Andrews on Tuesday morning, the secretary of state learned of his dismissal from a tweet Trump issued just minutes after The Washington Post first reported the news.
"Thank you to Rex Tillerson for his service!" Trump tweeted, in a message that began with congratulations for CIA Director Mike Pompeo, Trump's pick to become secretary of state. The president also nominated Gina Haspel to lead the CIA, making her the first woman to run the spy agency, if confirmed. Both she and Pompeo are subject to Senate confirmation.
More than three hours after his tweet, Trump finally called Tillerson from Air Force One. For Tillerson, it was a humiliating end to 14-month relationship defined by mutual animosity and frustration. In his departure statement Tuesday afternoon, Tillerson thanked career diplomats for their "honesty and integrity" and the American people for "acts of kindness" - but pointedly did not thank Trump or praise his leadership.
Tillerson's firing was long-anticipated, yet the way it played out stunned official Washington and was classic Trump. The man who made his name by declaring "You're fired!" on reality television is loath to actually fire people in person, outsourcing Tillerson's dismissal to Twitter.
Officials at the White House and the State Department, who have been at loggerheads since the beginning of the administration, offered conflicting accounts of just how the departure occurred. And the chaotic aftermath led to collateral damage - this time in the form of Steve Goldstein, the undersecretary of state for public diplomacy and public affairs, who was swiftly fired for contradicting the White House's version of events.
But Tillerson perhaps should not have been surprised by his ouster, which has been so long in the making that recurring rumors of his demise took on a nickname: Rexit.
"Rex and I have been talking about this for a long time," Trump told reporters Tuesday morning. "I actually got along well with Rex, but really it was a different mind-set, a different thinking."
Trump and Tillerson have disagreed over strategy in key areas of foreign policy, such as the 2015 Iran nuclear deal, the approach to North Korea and the overall tone of U.S. diplomacy. The president was disdainful of his secretary of state for being "too establishment" in his thinking and for disagreeing with him in meetings.
In a sign of the tension, Trump made one of his biggest foreign-policy gambles without so much as consulting his secretary of state. The president decided Thursday to accept North Korean leader Kim Jong Un's invitation for a face-to-face meeting, but Tillerson was traveling in Africa and was frustrated to have been excluded from the internal deliberations, administration officials said.
Tillerson had long expressed interest in a diplomatic solution to the nuclear standoff with North Korea, but Trump until recently had largely dismissed such talks as a waste of time and opted instead for a campaign of "maximum pressure" that included bellicose rhetoric from the president.
In the fall, Trump publicly undermined Tillerson after the secretary said he was reaching out to Pyongyang to try to open a diplomatic channel. In a pair of tweets, Trump wrote that Tillerson was "wasting his time trying to negotiate with Little Rocket Man . . . Save your energy Rex."
Yet last week, when Trump shifted strategy to meet with Kim, Tillerson was left out of the loop. If that angered Tillerson, it pleased Trump, who boasted to advisers that he enjoyed the process more without Tillerson involved, officials said.
Tillerson initially was regarded by some as too cozy to Russian President Vladimir Putin, whom he knew from his days as an oil executive, but over time he developed a more hard-line posture toward Moscow than Trump.
On Monday, flying home from Nigeria, Tillerson appeared to break with the White House in his assessment of the poisoning of a former Russian spy and his daughter in Britain. He singled out Russia as responsible for the attack, echoing the finger-pointing of the British government - something White House press secretary Sarah Huckabee Sanders declined to say earlier that day.
And the deposed Tillerson made a clear statement about Russian aggression in his departure remarks Tuesday. "Much work remains to respond to the troubling behavior and actions on the part of the Russian government," he said.
Trump for months has stewed over what he perceived as Tillerson's arrogance and condescension - a grievance exacerbated by an NBC News report, which Tillerson did not directly deny, that he had referred to Trump as a "moron" following a strategy meeting at the Pentagon.
"They fought all the time," said one Trump adviser, who like others interviewed for this story spoke on the condition of anonymity to candidly describe the relationship.
By contrast, Trump has enjoyed a far warmer relationship with Pompeo, who got to know the president by personally delivering his intelligence briefings. The two men have chemistry, though critics of Pompeo say he is too supplicating toward Trump.