Iranian Foreign Minister Javad Zarif tweeted about the retaliation on US forces in Iraq, and within minutes, President Donald Trump appeared to respond.
"Iran took & concluded proportionate measures in self-defense under Article 51 of UN Charter targeting base from which cowardly armed attack against our citizens & senior officials were launched," Zarif tweeted.
"We do not seek escalation or war, but will defend ourselves against any aggression," he added.
The president appeared to accept the offer of de-escalation in a tweet posted just 13 minutes later.
"All is well!" Trump tweeted. "Missiles launched from Iran at two military bases located in Iraq. Assessment of casualties & damages taking place now. So far, so good!"
'We have the most powerful and well equipped military anywhere in the world, by far! I will be making a statement tomorrow morning," he added.
Earlier on Tuesday the White House had announced that the president would be making a statement about the retaliation from Iran, but that was later cancelled.
Some reports indicated that Iran was threatening to strike US allies, including Israel, if the president ordered a counterstrike. Fox News' Bret Baier noted that Iran avoided larger targets that could have been struck easier.
Here's more about the Iranian retaliation:
Baier on Iran missile attack: This is Trump's biggest test www.youtube.com