WASHINGTON – President Donald Trump said Tuesday that he expects to decide “very quickly” whether to remove U.S. troops from war-torn Syria, saying their primary mission was to defeat the Islamic State group and “we’ve almost completed that task.”

A decision by Trump to withdraw from Syria would conflict with the views of his top advisers.

In fact, as Trump addressed reporters at the White House, high-ranking U.S. officials spoke elsewhere in Washington about the need to stay in Iraq and Syria to finish off the militant group, which once controlled large swaths of territory in both countries, and keep it from rising up again.

At a news conference with the presidents of the Baltic nations, Trump was asked whether he still favoured pulling U.S. troops out of Syria.

READ MORE: Donald Trump appears to threaten ‘cash cow NAFTA’ over Mexico ‘migrant caravan’

“As far as Syria is concerned, our primary mission in terms of that was getting rid of ISIS,” Trump answered, using an acronym for the Islamic State group. “We’ve completed that task and we’ll be making a decision very quickly, in co-ordination with others in the area, as to what we will do.”

Story continues below advertisement

The mission is “very costly for our country and it helps other countries a helluva lot more than it helps us,” Trump said.

“I want to get out. I want to bring our troops back home. I want to start rebuilding our nation,” he said during the appearance with his counterparts from Estonia, Latvia and Lithuania. Trump also noted that the Baltic states are partners with the U.S. in the anti-IS coalition and “we will not rest until ISIS is gone.”

A senior Syrian Kurdish official said Trump’s comments came at an “inappropriate time” as Islamic State militants re-emerge in eastern Syria and amid threats from Turkey.

WATCH: Trump says U.S. will have military to secure border with Mexico

1:28 Trump says U.S. will have military to secure border with Mexico Trump says U.S. will have military to secure border with Mexico

Ilham Ahmed, a senior Kurdish official in Syria’s Raqqa province, said such a decision would clear the way for “total chaos in Syria,” endangering areas newly liberated from the IS group and empowering Turkey to move in on towns controlled by the Kurdish-led Syrian Democratic Forces, backed by the U.S.-led coalition.

Story continues below advertisement

The main IS holdout in Syria is in the eastern province of Deir el-Zour, where momentum by the U.S.-backed Syrian Democratic Forces has stalled in recent weeks as many Kurdish members of the group have shifted west to the Afrin area to fight Turkish forces. Pentagon officials have publicly raised the prospect of this giving the IS group the breathing room it needs to regroup.

Many have warned that a premature U.S. withdrawal from Syria would cede the country to Iran and Russia, which have supported Syrian President Bashar Assad. Iran’s continued presence in Syria is especially troubling to neighbouring Israel, a U.S. ally that regards Iran as an existential threat.

Some high-ranking Trump administration officials urged caution.

Gen. Joseph Votel told a conference at the U.S. Institute for Peace that the United States would have to continue its work against remnants of the Islamic State group in eastern Syria. Votel is commander of U.S. Central Command, which oversees U.S. military operations across the Middle East, including Syria.

Votel said the military campaign has been largely successful but is not over.

“The hard part, I think, is in front of us, and that is stabilizing these areas, consolidating our gains, getting people back into their homes, addressing the long-term issues” like reconstruction of towns and cities badly damaged by the fighting and by the Islamic State group’s scorched-earth tactics. “There is a military role in this, certainly in the stabilization phase.”

Story continues below advertisement

Trump was expected to discuss Syria at a meeting later Tuesday with his national security team. It was not immediately clear whether he would make a decision on withdrawing troops at that time.

Also on the meeting agenda was the fate of some $200 million in U.S. stabilization assistance for Syria that the White House put on hold after Trump said during a speech in Ohio last week that he wanted to leave Syria “very soon.” The State Department was to have spent the money on building up the country’s infrastructure, including power, water and roads.

At the same Institute of Peace event, State Department envoy Brett McGurk said, “We want to keep eyes on the prize, on ISIS, because ISIS is not finished.”

A third U.S. official, Mark Green, administrator of the U.S. Agency for International Development, also argued at the conference that U.S. stabilization efforts in Syria are critical to a lasting defeat of the Islamic State group.