Sean Spicer has resigned as White House press secretary, ending a turbulent six months as the chief spokesman for President Donald Trump's administration.
"It's been an honor and a privilege to serve @POTUS @realdonaldtrump & this amazing country. I will continue my service through August," Spicer said on Twitter. The New York Times first reported his departure.
Spicer will be a guest on Fox News' "Hannity" on Friday night, the network announced.
Spicer objected to Trump's appointment of Anthony Scaramucci as communications director, a position in which he would have to work closely with the press secretary, according to the Times. Spicer had also been serving as communications director since Mike Dubke resigned from the post in late May.
Reporters crowded in the White House briefing room, lined up at the door to the White House press offices and awaiting official word. Sarah Huckabee Sanders was scheduled to deliver an on camera briefing to reporters at 2 p.m. ET.
Spicer had been with the administration from the start, but almost immediately had a contentious relationship with the media. It started the day after the inauguration, when Spicer called reporters to the briefing room to make a statement challenging media accounts of the inaugural crowd size.
"This was the largest audience to witness an inauguration, period, both in person and around the world," Spicer said at the Jan. 21 briefing, challenging some outlets' focus on comparison photos of the National Mall crowds to Trump's inaugural with that of Barack Obama's.
He quickly became a pop culture figure, as his briefings drew higher-than-normal viewership and were skewered by "Saturday Night Live," with Melissa McCarthy playing him. Few other press secretaries have reached that level of fame or, to his detractors, infamy. In one skit, McCarthy took out a super soaker and aimed it at the media gathered in the room, a riff on the real-life acrimony between reporters and the White House press operation.
But Spicer also has had to manage frequent bombshell stories coming out of the administration, as well as Trump's critical eye over the way that his press and communications have been handled. He reportedly was even critical of the suit that Spicer wore at his first briefing.
There had been rumors for weeks that Spicer was on his way out, as there were reports that others, like Fox News host Kimberly Guilfoyle, were being considered for the job.
More of the daily press briefings have been conducted by his deputy, Sarah Huckabee Sanders, and more have been done off camera, with the audio embargoed until they were finished. Spicer's last briefing with reporters was on July 17.
Spicer formerly served as spokesman for the Republican National Committee, and in that post during Trump's presidential transition period.
Scaramucci, founder of SkyBridge Capital, was a co-host of "Wall Street Week" and contributor on the Fox Business Channel. He was a supporter of Trump's during the campaign, and was a member of his transition team.
Spicer was viewed as a straight-shooter when he was with the RNC, but he almost immediately became a focal point for the chaotic first months of Trump's administration. He was a consistent defender of Trump's term, and was prone to attacking the media itself for its focus on the Russia investigation as well as Trump's tweets. His press conferences were often contentious, as reporters pressed him on some of Trump's statements and how they squared with past remarks and other evidence.
Spicer's resignation set off immediate speculation about the White House chief of staff Reince Priebus, viewed as a primary supporter of Spicer's, and who was reportedly unaware that Trump was tapping Scaramucci.
Scaramucci is stepping in to a contentious period at the White House, particularly with the fate of efforts to repeal and replace the Affordable Care Act in doubt.