U.S. President Donald Trump on Wednesday did not rule out future sanctions against Iraq, but cited what he called "a very good relationship" when asked about potential plans for withdrawing U.S. troops from Iraq.

"We'll see what happens, because we do have to do things on our terms," Trump told reporters in Davos, Switzerland as he met with Iraqi President Barham Salih.

Iraq's parliament passed a resolution urging the government to expel U.S. troops from the country, prompting Trump to respond with a threat not to leave unless Iraq reimburses the United States for a U.S. airbase there. He said Wednesday 5,000 U.S. troops remain in Iraq, and that his administration will "make a determination" about their future.

Salih highlighted the United States and Iraq as being partners in the war against Islamic State militants, and said he and Trump share the goal of a "stable, sovereign Iraq that is at peace with itself and at peace with its neighbors."

