When President Donald Trump fired White House chief strategist and former campaign manager Steve Bannon, it was almost like bidding goodbye to a part of himself.
Mr Trump's most polarising stances on matters such as immigration and national security closely tracked Mr Bannon's "America First" anti-globalist worldview.
Despite their close alignment, Mr Trump was always reluctant to credit Mr Bannon with the stunning electoral victory of November 2016, often noting that Mr Bannon came late to the campaign, joining only after Mr Trump had secured the Republican nomination.
He rewarded Mr Bannon, nonetheless, giving him a top job in the administration.
But as the White House grew increasingly chaotic in the early months of Mr Trump's presidency, Mr Bannon clashed with more mainstream advisers, including, most crucially, the president's son-in-law Jared Kushner and daughter Ivanka Trump.
Mr Trump was reportedly unhappy with the attention that Mr Bannon got early on as the architect of Trump's campaign, and with Mr Bannon's tendency to promote himself, as he operated an almost independent power centre within the West Wing.
Ultimately, Mr Bannon wore out his welcome.
Mr Trump fired him at the urging of his new chief of staff, John Kelly, who has been working to reorganise the White House and limit access to the president.
The dismissal could have political repercussions.
Mr Bannon was viewed as the administration's conduit to Mr Trump's rabid political base and his departure may antagonise some of Mr Trump's most passionate supporters, who fear that without Mr Bannon, Mr Trump will move closer to the Republican political establishment.
"We are extremely disappointed," Rick Manning, president of Americans for Limited Government, a conservative advocacy group, said in a statement.
On specific policies, Mr Bannon was credited with helping craft the administration's "travel ban," which restricted emigrationto the United States from some mostly Muslim countries, as well as Mr Trump's opposition to the Trans-Pacific Partnership trade pact and the Paris global climate accord.
Mr Bannon has been seen as wary of US intervention abroad, arguing against sending more US troops to Afghanistan.
In recent months, Mr Bannon has battled for influence inside the White House with Mr Trump's national security adviser, Lieutenant General H.R. McMaster, a tension that was destabilising Trump's team of top advisers, senior officials have told Reuters.
Mr Trump himself has suggested Mr Bannon's influence was overstated.
While Mr Bannon was viewed as perhaps responsible for Mr Trump's initial response to the violence last weekend in Charlottesville, Virginia, when he blamed both sides for the confrontation, Mr Trump said this week that he never spoke to Mr Bannon about the matter.
Mr Bannon may return to the provocateur role he played at the right-wing Breitbart News website, where he spearheaded its shift into a forum for the "alt-right," a loose online confederation of neo-Nazis, white supremacists and anti-Semites.
Under Mr Bannon's leadership, the Breitbart site presented a number of conspiracy theories about former Democratic presidential candidate Hillary Clinton, as well as Republicans deemed to be lacking in conservative bona fides.
Whether he returns to Breitbart and uses it to challenge the so-called "cucks" and "globalists" he disdains - and perhaps Mr Trump himself - will be closely watched in coming weeks.
Almost immediately after his departure became public, Breitbart published a piece calling him "the conservative spine" of the administration and questioning whether Mr Trump would now move in a more moderate direction.
Another Breitbart editor, Raheem Kassam, posted a picture of Mr Bannon on Twitter with the caption Bannon 2020, seemingly suggesting that Mr Bannon, not Mr Trump, should be president.