WASHINGTON — President Donald Trump held his first meeting with Iraq's prime minister Monday as the American leader shapes his policy for defeating ISIS.

With Iraq's Prime Minister Haider al-Abadi at the White House, Trump said Iran was one of the issues facing his team and the Iraqi delegation. He took the opportunity to criticize the nuclear deal his predecessor, Barack Obama, pursued with Iran.

"One of the things I did ask is, 'Why did President Obama sign that agreement with Iran?' because nobody has been able to figure that one out," Trump said. "But maybe someday we'll be able to figure that one out."

Trump said he hopes to address the "vacuum" that was created when the ISIS claimed Iraq and added that "we shouldn't have gone in" to Iraq in the first place.

Speaking after Trump during the bilateral meeting, al-Abadi said that Iraq has "the strongest counterterrorism forces, but we are looking forward to more cooperation between us and the U.S."

Trump campaigned on a promise to dramatically ramp up the assault on ISIS and has vowed to eradicate "radical Islamic terrorism." So far, he has not indicated a dramatic change of course. Like Obama before him, Trump has not suggested any sharp increases in troop levels or in airstrikes against militant targets, looking to avoid giving off the image of an invading force.

Related: Analysis: Comey Delivers Political Gut Punch to President Trump

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Earlier Monday, Trump greeted al-Abadi in the Oval Office shortly after FBI Director James Comey said the FBI and Justice Department have no information to substantiate Trump's claims that Obama wiretapped him before the election.

As reporters were leaving, al-Abadi leaned over to Trump and joked, "We have nothing to do with the wiretap."

President Donald Trump meets with Iraqi Prime Minister Haider Al-Abadi in the Oval Office on March 20, 2017, in Washington, DC. MOLLY RILEY / AFP - Getty Images

The Iraqi premier's first visit to Washington since Trump's inauguration came on the 14th anniversary of the U.S. invasion of Iraq under the auspice that Saddam Hussein was hiding weapons of mass destruction. The meeting also comes as Trump is set to host a 68-nation meeting geared toward advancing the fight against ISIS.

During al-Abadi's last visit to Washington, the Iraqi premier worked to drum up greater financial and military support as he faced the daunting task of rebuilding cities destroyed in the fight against ISIS. He also sought greater assistance to help the country confront a humanitarian crisis, with more than 4 million people displaced in the fighting.

As he departed Baghdad for the Monday afternoon meeting at the White House, al-Abadi declared in a video statement, "We are in the last chapter, the final stages to eliminate IS militarily in Iraq."

But as Iraqi forces come closer to recapturing the city of Mosul — it's militant group's biggest stronghold in Iraq — the extent to which the Trump administration is willing to commit to efforts to rebuild Iraqi cities, many of them in ruins from the fighting, remains to be seen.

Trump's budget proposal would cut by roughly 30 percent funding for the State Department and the U.S. Agency for International Development. Both contribute significantly to peacekeeping missions and development programs. How Iraq will be impacted by Trump's approach isn't known. Previous administrations have asserted a need for maintaining assistance to Iraq to counter the influence of neighboring Iran.

Related: Tillerson’s Beijing Visit Was a Home Run for China: State Media

If the proposed budget is approved by Congress, more than $3 billion of the additional money being geared toward defense spending would be allocated to the fight against ISIS, including $2 billion for a fund that would give the Pentagon the discretion to direct those resources where needed to support the counter-ISIS strategy.

Al-Abadi arrived in Washington having already won one concession from the Trump administration. The temporary ban on travelers from seven countries was rewritten to exclude Iraq, after several Iraqi officials and U.S. lawmakers objected to Iraq's inclusion, noting the risks and sacrifices that many Iraqis made assisting U.S. troops during and after the 2003 U.S.-led invasion that toppled Saddam Hussein. U.S. courts have blocked the rewritten ban.

The leaders' public comments did not touch on Trump's remark on the day he took office that the U.S. may get a chance to take Iraq's oil as compensation for its efforts there — something al-Abadi, and later, Defense Secretary Jim Mattis, rebuffed.

Al-Abadi assumed power in 2014 after Iraq's longtime prime minister, Nouri al-Maliki, was pushed out by his party for his failures to cap the surge of IS fighters. At one point, the radical Sunni Muslim group ruled about a third of Iraq.

Since then, Iraq's military has seen significant military victories, with the help of an international coalition that has been assisting with airstrikes and weapons as well as a robust advise and assist operation.

The U.S. has sent about 5,200 U.S. forces in Iraq, but that number doesn't include a few thousand forces who are there on temporary duty or don't count in the military personnel accounting system for other reasons.

In neighboring Syria, there are nearly 1,000 U.S. forces, although the official authorized level is 503. There, the U.S. is shifting from working quietly behind the scenes on Syria's toxic battlefield, turning instead toward overt displays of U.S. force in an attempt to shape the fight ahead of efforts to recapture the ISIS' de facto capital, Raqqa.