National Security Adviser H.R. McMaster is safe in his position for now even as he tussles with Steve Bannon, President Trump's chief strategist, according to a report Thursday night.

Bannon, who leads the populist wing of the White House, has fought with McMaster over strategy for the war in Afghanistan.

Politico reported that at a July meeting on the subject, McMaster, pushing for additional troops in Afghanistan, and Bannon, angling for less involvement in the war, "sparred openly."

Defense Secretary Jim Mattis had to intervene to get the meeting back on track, Politico said.

Trump has not yet made a decision on his Afghanistan strategy.

John Kelly, Trump's new chief of staff, has told McMaster he supports him remaining as national security adviser, Politico reported, citing two unnamed senior White House aides.

After Kelly started Monday, McMaster ousted Ezra Cohen-Watnick, the senior director for intelligence programs at the National Security Council, and the latest ally of former National Security Adviser Michael Flynn to be dismissed from the White House.

McMaster reportedly tried to fire Cohen-Watnick in March, but Bannon and Jared Kushner, the president's son-in-law and senior adviser, pushed Trump to intervene and save him.

In April, after McMaster's arrival, Bannon was removed from the NSC's principles committee.

McMaster also blames Bannon for initiating a string of negative stories that have appeared on Breitbart News recently, including one accusing McMaster of being anti-Israel.

On Wednesday, the New York Times reported that Trump was considering replacing McMaster with CIA Director Mike Pompeo, and moving the current national security adviser to command U.S. forces in Afghanistan.

However, Politico reported Thursday that McMaster's job is safe, for now.