The New York Times's editorial board slammed outgoing White House press secretary Sean Spicer Sean Michael SpicerKellyanne Conway to leave White House at end of month Pro-Trump duo Diamond and Silk launch new program on Newsmax TV The Hill's 12:30 Report - Presented by Facebook - Supreme Court's unanimous decision on the Electoral College MORE in a goodbye editorial Friday, delivering a tongue-in-cheek valediction that took aim at the Trump aide's gaffes and trials.

"You gave us 'the president’s tweet speaks for itself,' 'That is called a bollard wall. That is called a levee wall,' 'stop shaking your head,' and a new term, 'Holocaust center,' " the board wrote. "You gave us Melissa McCarthy playing you. Or was it the other way around?"

"It seems like yesterday — maybe you would insist it was yesterday — that President Trump Donald John TrumpBiden leads Trump by 36 points nationally among Latinos: poll Trump dismisses climate change role in fires, says Newsom needs to manage forest better Jimmy Kimmel hits Trump for rallies while hosting Emmy Awards MORE drafted you from the Republican National Committee farm team for the Big Show," the Times wrote.

Spicer resigned abruptly on Friday after President Trump appointed Wall Street financier Anthony Scaramucci Anthony ScaramucciFormer DeVos chief of staff joins anti-Trump group Scaramucci to Lemon: Trump 'doubling down' on downplaying virus 'should scare' viewers Sunday shows - Leaked audio of Trump's sister reverberates MORE as his new communications director.

ADVERTISEMENT

The Times's editorial board wrote that the former press secretary "lied" while "an apprehensive America wondered what was ahead," and said he failed to build the requisite rapport with journalists covering the White House.

"Oh Spicey, you lasted six months and a day. Or are those 'inaccurate numbers'?" the board wrote, a jab at Spicer's claim that Trump's swearing-in ceremony attracted the "largest audience to ever witness an inauguration."

"You were not loved by reporters — or would you disagree, because 'proceedings were intentionally framed in a way, in one particular tweet, to minimize the enormous support that had gathered'?"

Trump took to Twitter on Friday to defend his outgoing press secretary, who had an often combative relationship with the press while serving as the Trump administration's top spokesman for six months.

"Sean Spicer is a wonderful person who took tremendous abuse from the Fake News Media," Trump tweeted Friday, "but his future is bright!"