Critics of the Trump administration took to social media on Friday to poke fun at the abrupt resignation of White House press secretary Sean Spicer.

News that Spicer will leave the White House immediately followed the announcement that President Trump tapped Anthony Scaramucci, a Wall Street financier and staunch ally of the president, to be his next communication's director.

Some of Spicer's most high-profile detractors quickly mocked his departure, many speculating about Spicer's next job.

"Can't wait to see Sean Spicer waltz on Dancing With the Stars," actor Zach Braff wrote on Twitter.

Can't wait to see Sean Spicer waltz on Dancing With the Stars. — Zach Braff (@zachbraff) July 21, 2017

"CUT TO the 15 different book publishers waiting outside the White House fence with wheelbarrows full of money," director Morgan Spurlock tweeted after Spicer's resignation.

CUT TO the 15 different book publishers waiting outside the White House fence with wheelbarrows full of money. https://t.co/lwjvS6l0K4 — Morgan Spurlock (@MorganSpurlock) July 21, 2017

Actor Kate Walsh mused that Melissa McCarthy, who plays a hyper-aggressive version of Spicer on "Saturday Night Live," should simply take over the press secretary's role.

ADVERTISEMENT

Jon Favreau, former President Barack Obama Barack Hussein ObamaDemocratic Senate campaign arm outraises GOP by M in August A federal court may have declared immigration arrests unconstitutional Blunt says vote on Trump court nominee different than 2016 because White House, Senate in 'political agreement' MORE's chief speechwriter and a co-host of the "Pod Save America" podcast, was blatant in his criticism of Spicer, saying the former press secretary had "set a new record for dishonesty."

"Where in Washington is there a home for an ex-White House press secretary who set new records for dishonesty?" Favreau wrote on Twitter. "Oh, everywhere."

Where in Washington is there a home for an ex-White House press secretary who set new records for dishonesty?



Oh, everywhere. — Jon Favreau (@jonfavs) July 21, 2017

Favreau also floated the notion of a "bidding war" to hire Spicer between CNN and Fox News. CNN, in fact, preemptively ruled out such a hire on Friday.

"I'm sure Fox and Zucker will be in a bidding war for Spicer soon enough," Favreau wrote, referring to CNN President Jeff Zucker.

I'm sure Fox and Zucker will be in a bidding war for Spicer soon enough — Jon Favreau (@jonfavs) July 21, 2017

Actor Joshua Malina, who played the roles of White House communications director and press secretary on the White House show "The West Wing," was direct in his criticism of Spicer.

Dan Pfieffer, who served as White house communications director for most of Obama's first term, took the opportunity to cast doubt on Scaramucci's appointment rather than target Spicer.

"I have a particular bias here but White House Communications director is a much harder and more complicated job than campaign surrogate," he tweeted.

I have a particular bias here but White House Communications Director is a much harder and more complicated job than campaign surrogate — Dan Pfeiffer (@danpfeiffer) July 21, 2017

Almost immediately after news of Spicer's resignation broke, Comedy Central's "The Daily Show" posted a tribute video on social media recapping the former press secretary's tenure — and gaffs — at the White House.

R.I.P. Sean Spicer as White House Press Secretary, 2017 - 2017 pic.twitter.com/y7QmJAroYH — The Daily Show (@TheDailyShow) July 21, 2017

The New York Times first broke the news of Spicer's resignation on Friday, reporting that Spicer believed Scaramucci's appointment was a mistake.

He told CNN shortly after he resigned that he "wanted to give the president and the new team a clean slate" and said in a tweet that he would stay at the White House through August.