Sebastian Gorka, deputy assistant to President Trump, will soon accept a position outside the White House, two sources told the Washington Examiner on Sunday.

Gorka's new role will deal with the "war of ideas" involved in countering radical Islamic extremism, a senior administration official said, and will entail an appointment to a federal agency.

Gorka has served for months on the Strategic Initiatives Group, an internal organization within the White House, and as a national security adviser. His exit from the White House comes amid increased speculation that a reported lack of a security clearance prevented him from fully performing in his job.

But a source told the Washington Examiner that Gorka's role in SIG was always meant to be temporary, and suggested he had been placed there while administration officials created a terrorism-related position for him elsewhere in the government. An official said Gorka has been in a "holding pattern" while he waited for the position, which will not be at the State Department, to be established.

A spokesman for the National Security Council said he did not "personally know" the details about Gorka's move.

A White House source said Gorka's role has always been unclear and said Gorka never had national security issues in his portfolio. "This guy has always been a big mystery to me," the source said of Gorka's contributions to the staff.

The source said Gorka's only known duties included speaking on television about counterterrism, as well as "giving White House tours and peeling out in his Mustang," but added that he had few notable responsibilities.

Gorka's status in the West Wing has been the subject of speculation amid reports that the White House had weighed options that would place the former Breitbart editor in another areas of the administration. The author of Defeating Jihad: The Winnable War, Gorka is a counterterrorism expert whose ability to articulate Trump's plans for battling the Islamic State has become an asset for the White House.

But his security clearance situation remains unclear.

He is not the first aide whose move away from the NSC was explained by pointing to the temporary nature of his role there. Steve Bannon, Trump's chief strategist, was moved off the NSC's principals committee after officials said his efforts to "de-operationalize" the council had ended.

Democrats and liberal activists have called for Gorka's resignation over alleged ties to a Hungarian political party connected to Nazism. Gorka has strongly denied the accusations and there has been no evidence to suggest that he is an active member of the group.

Editor's note: This story has been updated to include new information from a White House source.