Sean Spicer resigns, Sarah Huckabee Sanders named next White House press secretary

What You Need To Know: Sean Spicer

White House press secretary Sean Spicer resigned from his post Friday morning, six months and one day after taking the position.

>> Read more trending news

In a message posted to Twitter Friday afternoon, Spicer said he will continue to serve as press secretary through August.

>> Related: Sean Spicer resigns: A look at his 6 months as White House press secretary

“It's been an honor (and) a privilege to serve (President Donald Trump and) this amazing country,” he wrote.

Deputy White House press secretary Sarah Huckabee Sanders will take over his duties, newly named White House communications director Anthony Scaramucci said at a news briefing Friday.

Spicer's resignation came in opposition to Scaramucci's appointment, The New York Times reported.