President Trump's deputy assistant, Sebastian Gorka, has parted ways with the White House, but while the Trump administration claims Gorka did not resign, he tells the Washington Examiner that he did.

The Federalist broke the story Friday evening and shared the details of a resignation letter he wrote, in which he expressed support for Trump but lamented that "it is clear to me that forces that do not support the MAGA promise are – for now – ascendant within the White House."

A White House official rejected the claim that he resigned.

"Sebastian Gorka did not resign, but I can confirm he no longer works at the White House," said a White House official in a statement.

However, in a pair of text message exchanges, Gorka confirmed to the Washington Examiner that he did indeed resign.

"How disappointing. I resigned," he said in one text. Gorka said that he's on vacation until Monday.

In a separate text message Gorka said he told White House chief of staff John Kelly "today and emailed him today" about his resignation. "It's very disappointing that someone wished to spin this," he added.

Gorka's exit follows that of White House chief strategist Steve Bannon, who hours after his exit returned to Breitbart News. Gorka used to work for Bannon at the news outlet.

A source familiar with the situation said that Gorka had been working on policy issues with Bannon for the past six months, including Chinese trade and national security. He was assisting the National Security Council with national security policy, but when Bannon left, national security adviser H.R. McMaster started shutting Gorka out from national-security-related meetings.