White House Press Secretary Sarah Sanders is leaving her post, President Donald Trump has announced.
He said his spokeswoman would return to her home state of Arkansas at the end of June, praising her as a "warrior".
Mrs Sanders, who is the latest senior White House aide to exit, said her role had been "the honour of a lifetime". Her credibility was questioned during a combative tenure that saw press briefings all but relegated to a thing of the past.
She started out as deputy press secretary before replacing Sean Spicer in the top post in July 2017.
Mrs Sanders, 36, has been a loyal mouthpiece, famously saying that God "wanted Donald Trump to become president".
At an unrelated White House event on Thursday, Mr Trump described her as "a special person, a very, very fine woman".
"She's a warrior, we're all warriors, we have to be warriors," Mr Trump added.
The president did not name a replacement press secretary.
She said in a quavering voice: "This is something I will treasure forever. I'm going to continue to be one of the most outspoken and loyal supporters of the president."
The mother-of-three said she was looking forward to spending more time with her family. She sometimes scolded the White House press corps for behaving like her children.
Mrs Sanders had a difficult relationship with the media, often repeating her boss's allegation of fake news.
Mrs Sanders hosted fewer news conferences than any of the preceding 13 press secretaries, according to the American Presidency Project.
Her last media briefing was on 11 March - 94 days ago.
Mr Trump has opted to be his own communicator-in-chief, frequently making impromptu remarks to journalists above the buzz of presidential helicopter Marine One on the South Lawn of the White House.
Sarah Huckabee Sanders has been a stalwart defender of Donald Trump's for nearly two years. It's just she hasn't been doing much of that defending in the White House press briefing room - the traditional venue for her position.
The Trump presidency has been unconventional in many regards. The steady erosion of the role of press secretary is only a small but notable part.
Mrs Sanders in recent months spent most of her time appearing on Fox News, answering shouted questions from reporters in the White House driveway, and chatting about mundane off-the-record details.
Trying to explain the president's snap decisions, surprise policy announcements, and unexpected reversals and apparent contradictions in a formal setting was never an easy task, and Mrs Sanders - with the president's apparent blessing - eventually stopped trying.
The president, in effect, is his own press secretary, his own communications director and his own messaging guru. As the last 24 hours of tweets and interviews amply demonstrate, it makes for a wild ride.
Mrs Sanders will eventually be replaced, but her stable presence will surely be missed by the administration staff. The reality, however, is that as long as the man at the top calls the shots, nothing will change.
Mrs Sanders' time in the post was not without controversy, and she was accused of lying to journalists.
After Mr Trump fired FBI Director James Comey in May 2017, she said she had "heard from countless members of the FBI that are grateful and thankful for the president's decision".
But she told special counsel Robert Mueller, during his investigation into whether the Trump election campaign had colluded with Russia, that this claim was "a slip of the tongue" that was "not founded on anything".
In April last year, Mrs Sanders was ridiculed when she attended the White House Correspondents' Dinner.
Comedian Michelle Wolf likened the press secretary to the matronly but terrifying disciplinarian in the TV adaptation of dystopian novel The Handmaid's Tale.
The host was criticised even by some liberals for making a joke about the press secretary's make-up.
Wolf said: "She burns facts and then she uses that ash to create a perfect smokey eye.
"Maybe she's born with it, maybe it's lies. It's probably lies."
Last June, the manager of a restaurant in Lexington, Virginia, asked Mrs Sanders to leave because of her role in the Trump administration.
That same month, the press secretary dismissed rumours that she would be stepping down.
She is the daughter of Mike Huckabee, who was governor of Arkansas from 1996 to 2007.
In his tweet announcing Mrs Sanders' resignation, Mr Trump wrote that he hoped she would run for the same position.
"She would be fantastic," he said.
Mrs Sanders is one of the few remaining aides from Mr Trump's presidential campaign.
Source : BBC