Mira Ricardel, the president's deputy national security adviser, has been reassigned one day after first lady Melania Trump called for the woman's firing.
Ricardel will depart the White House as Trump desired and be reassigned to another role in the administration, according to press secretary Sarah Sanders.
"Mira Ricardel will continue to support the President as she departs the White House to transition to a new role within the Administration," Sanders said. "The President is grateful for Ms. Ricardel’s continued service to the American people and her steadfast pursuit of his national security priorities."
An extraordinary statement released by Trump's spokeswoman, Stephanie Grisham, on Tuesday said: “It is the position of the Office of the First Lady that she no longer deserves the honor of serving in this White House.”
Despite the White House drama, Sanders said earlier in the day Wednesday that Ricardel remained on the job.
Vice President Mike Pence became the first major member of the Trump administration to comment on Ricardel's ouster at a stop in Singapore on his Asian trip Thursday.
"I have great respect for her and her role," Pence said. "I look forward to her new role in another part of the administration."
Ricardel and Melania Trump's office most recently tangled over her solo trip to Africa. Mrs. Trump felt she had treated her staff disrespectfully, White House sources said, and Ricardel was seen as so difficult during the planning of the trip, according to sources, that the first lady’s team sought Kelly's guidance.
The National Security Council did not respond to a request for comment.
Ricardel was recruited to the National Security Council by the president's national security adviser, John Bolton. According to the Wall Street Journal, the first lady’s office believed Ricardel was behind negative stories and was known to not get along with Secretary of Defense James Mattis and at times sought to undermine him from within the White House.
A White House official who requested anonymity noted in Ricardel's defense that she is one of the highest-ranking women in the Trump administration and that she has never met the first lady.
Trump told ABC News’ Tom Llamas last month, during her first sit-down interview, that she shares her opinions about people she doesn’t trust in the administration with her husband.
“Do you think there's still people there that he can't trust?” Llamas asked.
“Yes,” the first lady said. She added, “You always need to watch your back.”
When asked Tuesday if he agrees with the first lady on Ricardel, Mattis told ABC News, "I don't comment on other people's staffing issues."
ABC News' Elizabeth McLaughlin and Martha Raddatz contributed to this report.