Iran is dominating "more and more of Iraq" despite U.S. efforts to secure the country, President Trump Donald John TrumpTrump says he doesn't think he could've done more to stop virus spread Conservative activist Lauren Witzke wins GOP Senate primary in Delaware Trump defends claim coronavirus will disappear, citing 'herd mentality' MORE tweeted late Wednesday.

Iran is rapidly taking over more and more of Iraq even after the U.S. has squandered three trillion dollars there. Obvious long ago! — Donald J. Trump (@realDonaldTrump) February 2, 2017

Trump's comments came the same day that the White House condemned a recent ballistic missile test by Iran and put the country "on notice," though the administration did not specify what actions it would take.

"The Trump administration condemns such actions by Iran that undermine security, prosperity, and stability throughout and beyond the Middle East and place American lives at risk," national security adviser Michael Flynn said during the daily White House press briefing.

ADVERTISEMENT

“As of today, we are officially putting Iran on notice."

It was not immediately clear what Trump's tweets were referring to, though Iran has been involved in military operations to fight the Islamic State terrorist group in Iraq since 2014.

As a presidential candidate, Trump criticized a 2015 international agreement to curb Iran's nuclear program and vowed to abandon the agreement if elected.