Deputy National Security Adviser Mira Ricardel, right, watches as President Donald Trump arrives for a Diwali ceremonial lighting of the Diya in the Roosevelt Room of the White House, Tuesday, Nov. 13, 2018, in Washington. In an extraordinary move, first lady Melania Trump is publicly calling for the dismissal of Ricardel. After reports circulated that the president had decided to remove Ricardel, the first lady
Deputy National Security Adviser Mira Ricardel, right, watches as President Donald Trump arrives for a Diwali ceremonial lighting of the Diya in the Roosevelt Room of the White House, Tuesday, Nov. 13, 2018, in Washington. In an extraordinary move, first lady Melania Trump is publicly calling for the dismissal of Ricardel. After reports circulated that the president had decided to remove Ricardel, the first lady's spokeswoman issued a statement saying: "It is the position of the Office of the First Lady that she no longer deserves the honor of serving in this White House." Ricardel is national security adviser John Bolton's deputy.
PHOTO: Evan Vucci/AP
Now playing
01:40
Ricardel forced out of White House
PHOTO: CNN
Now playing
01:48
FBI warns of potential armed protests across country
Senator-elect Tommy Tuberville, a Republican from Alabama, stands for a photo at the US Capitol in Washington, DC, on November 9, 2020. (Photo by Stefani Reynolds / POOL / AFP) (Photo by STEFANI REYNOLDS/POOL/AFP via Getty Images)
Senator-elect Tommy Tuberville, a Republican from Alabama, stands for a photo at the US Capitol in Washington, DC, on November 9, 2020. (Photo by Stefani Reynolds / POOL / AFP) (Photo by STEFANI REYNOLDS/POOL/AFP via Getty Images)
PHOTO: STEFANI REYNOLDS/AFP via Getty Images
Now playing
03:20
Senator-elect Tommy Tuberville flubs 3 branches of government
MOON TOWNSHIP, PA - SEPTEMBER 22: Ivanka Trump and Jared Kushner listen as President Donald Trump speaks at a campaign rally at Atlantic Aviation on September 22, 2020 in Moon Township, Pennsylvania. Trump won Pennsylvania by less than a percentage point in 2016 and is currently in a tight race with Democratic nominee, former Vice President Joe Biden. (Photo by Jeff Swensen/Getty Images)
MOON TOWNSHIP, PA - SEPTEMBER 22: Ivanka Trump and Jared Kushner listen as President Donald Trump speaks at a campaign rally at Atlantic Aviation on September 22, 2020 in Moon Township, Pennsylvania. Trump won Pennsylvania by less than a percentage point in 2016 and is currently in a tight race with Democratic nominee, former Vice President Joe Biden. (Photo by Jeff Swensen/Getty Images)
PHOTO: Jeff Swensen/Getty Images
Now playing
01:55
Where do Ivanka Trump and Jared Kushner go from here?
FBI Director Christopher Wray speaks during a virtual news conference at the Department of Justice on October 28, 2020 in Washington, DC.
FBI Director Christopher Wray speaks during a virtual news conference at the Department of Justice on October 28, 2020 in Washington, DC.
PHOTO: Sarah Silbiger/Getty Images
Now playing
03:47
FBI director speaks publicly for first time since Capitol riots
PHOTO: CNN
Now playing
03:06
Avlon: This is where Trump failed in historic proportions
PHOTO: POOL
Now playing
00:48
Pence makes surprise visit to Capitol to thank National Guard
PHOTO: Pool
Now playing
03:11
Biden: Real pain overwhelming the real economy
Staffer White House move out
Staffer White House move out
PHOTO: CNN
Now playing
01:36
Moving trucks spotted at White House as staffers clean out their desks
Pro-Trump supporters storm the U.S. Capitol following a rally with President Donald Trump on January 6, 2021 in Washington, DC. Trump supporters gathered in the nation
Pro-Trump supporters storm the U.S. Capitol following a rally with President Donald Trump on January 6, 2021 in Washington, DC. Trump supporters gathered in the nation's capital today to protest the ratification of President-elect Joe Biden's Electoral College victory over President Trump in the 2020 election. (Photo by Samuel Corum/Getty Images)
PHOTO: Samuel Corum/Getty Images
Now playing
04:47
15 hours of chaos that led to Trump's impeachment
Now playing
01:29
Former DHS official: You don't get a mulligan on insurrection
PHOTO: CNN
Now playing
03:19
Mudd: Here are my 2 concerns with potential protests
Scott Jennings/Amanda Carpenter split 0113
Scott Jennings/Amanda Carpenter split 0113
PHOTO: CNN
Now playing
02:18
Conservative panelists go head-to-head: Are you sorry you voted for Trump?
House impeachment 217
House impeachment 217
PHOTO: CNN
Now playing
02:08
See historic moment House reaches enough votes to impeach Trump
PHOTO: CNN
Now playing
02:46
Rep. Hoyer: Republicans I've talked to say this action is required
PHOTO: AOC / Instagram
Now playing
01:44
AOC on Capitol riots: Members were 'nearly assassinated'
(CNN) —  

A feud with the first lady’s office cost a senior national security adviser her job in the White House after she sparred with East Wing staff and other key members of the Trump administration.

The dispute spilled into public view in extraordinary fashion on Tuesday when the first lady’s office released a statement calling for deputy national security adviser Mira Ricardel’s ouster as reports surfaced that President Donald Trump would fire the official.

“It is the position of the Office of the First Lady that (Ricardel) no longer deserves the honor of serving in this White House,” the first lady’s communications director Stephanie Grisham said in a statement on Tuesday.

The White House announced Wednesday that Ricardel would be leaving her role as deputy national security adviser and would take a different role in the administration.

The statement Tuesday from Melania Trump’s office amounted to a stunning public rebuke by a first lady of a senior official serving in her husband’s administration. It came after reports surfaced earlier Tuesday indicating Ricardel would be pushed out of her post after less than seven months on the job.

Neither Ricardel nor spokespeople for the National Security Council responded to CNN requests for comment.

Reflecting the fast-moving nature of the events, soon after a Wall Street Journal report surfaced Tuesday afternoon alleging Ricardel was fired and escorted off the White House grounds, a senior White House official denied the story to reporters.

The official said Ricardel was still in her office Tuesday afternoon.

Her departure leaves national security adviser John Bolton without one of his key allies in the White House, a deputy who has also shared his penchant for bureaucratic infighting.

It was those sharp elbows that sources said led to the first lady’s stinging statement, with Ricardel most recently feuding with members of the first lady’s staff over her trip to Africa. One person familiar with the matter said Ricardel quarreled with the first lady’s staff over seating on the plane and use of National Security Council resources.

A White House official accused Ricardel of being dishonest about the feud and subsequently leaking stories to try to cover her behavior.

And before her spat with the East Wing, Ricardel butted heads repeatedly with Defense Secretary Jim Mattis, a rivalry that was well-known within the Trump administration. Her disputes with Mattis preceded her time as deputy national security adviser, going back to the presidential transition when Ricardel sought to block Mattis from hiring certain people who had been critical of Trump or were viewed as insufficiently loyal to Trump.

Tensions had also been rising between Ricardel and chief of staff John Kelly and his deputy Zach Fuentes in recent weeks, according to people familiar with the matter. Kelly and Fuentes believe Ricardel was leaking negative stories about them to the press, the people said.

The dispute made it difficult for Ricardel to land in a top post in the Trump administration, though she was ultimately tapped for the position of undersecretary of commerce for export administration. Ricardel then joined the National Security Council as Bolton’s deputy in April after he was named national security adviser.

Ricardel has been key to Bolton’s efforts to restructure the National Security Council and to help Bolton secure his place as an influential adviser to the President on all foreign policy matters.

The drama surrounding Ricardel’s ouster surfaced while Bolton was half a world away in Singapore, where he is attending the Association of Southeast Asian Nations summit.

West Wing caught off guard

West Wing officials were caught off guard on Tuesday by the statement from the first lady’s spokeswoman targeting Ricardel, two sources familiar with the matter said.

White House officials were generally aware of the tensions between Ricardel and the first lady’s office stemming from the Africa trip, but were stunned to see the first lady take such a public stance against a senior staffer through her spokeswoman. Sources said officials in the White House press shop were particularly annoyed that they didn’t get a heads-up from the East Wing.

West Wing and NSC officials are more upset at the way the East Wing handled the matter than the substance of the effort to push Ricardel out.

One person said neither Trump, Kelly nor press secretary Sarah Sanders knew the statement was coming.

Ricardel made few friends since she came on board in April, clashing with officials across the administration. Two administration sources said she was generally not well liked, though others pushed back, saying she was a respected member of the team and one of the highest ranking women in the West Wing.

Even one NSC official who said they liked Ricardel said she “liked to pick fights with a lot of different folks” and suspected her latest feud with the first lady’s office was “the last straw.”

Another official was more forgiving: “She’d run through a brick wall for you but her personality isn’t for everyone.”

This story has been updated.

CNN’s Pamela Brown and Sarah Westwood contributed to this report.