Iran's Foreign Minister Abbas Araghchi said that Iranian armed forces fought until the very last minute in an X/Twitter post on Tuesday morning.
"Together with all Iranians, I thank our brave Armed Forces who remain ready to defend our dear country until their last drop of blood, and who responded to any attack by the enemy until the very last minute," he wrote.
This statement came less than an hour after Araghchi threatened that Iran would withdraw from a ceasefire with Israel should Israel continue its attacks past 4 a.m.
Araghchi had denied there was any agreement and asserted that Tehran would decide at a later time whether to continue hostilities.
"As Iran has repeatedly made clear: Israel launched war on Iran, not the other way around," Araghchi wrote on X. "As of now, there is NO 'agreement' on any ceasefire or cessation of military operations. However, provided that the Israeli regime stops its illegal aggression against the Iranian people no later than 4 am Tehran time, we have no intention to continue our response afterwards."
US President Donald Trump announced late on Monday night that a ceasefire had been reached between Israel and Iran that would enter into effect on Tuesday at 7 a.m. Israel time.
Trump said that Iran will immediately cease attacks and Israel will join the ceasefire on the 12th hour of the agreement. In the 24th hour, both sides will reportedly accept an end to the 12-day war.
According to a diplomatic source familiar with details, the ceasefire was mediated by Qatar.
Trump: The '12-day war' will be brought to official end
"CONGRATULATIONS TO EVERYONE! It has been fully agreed by and between Israel and Iran that there will be a Complete and Total CEASEFIRE (in approximately 6 hours from now, when Israel and Iran have wound down and completed their in progress, final missions!)," Trump wrote on Truth Social.
"For 12 hours, at which point the War will be considered, ENDED! Officially, Iran will start the CEASEFIRE and, upon the 12th Hour, Israel will start the CEASEFIRE and, upon the 24th Hour, an Official END to THE 12 DAY WAR will be saluted by the World.
"During each CEASEFIRE, the other side will remain PEACEFUL and RESPECTFUL. On the assumption that everything works as it should, which it will, I would like to congratulate both Countries, Israel and Iran, on having the Stamina, Courage, and Intelligence to end, what should be called, 'THE 12 DAY WAR.' This is a War that could have gone on for years, and destroyed the entire Middle East, but it didn’t, and never will! God bless Israel, God bless Iran, God bless the Middle East, God bless the United States of America, and GOD BLESS THE WORLD!"
US Vice President JD Vance told Fox News that Tehran no longer had the capacity to build nuclear weaponry, thanks to prior US strikes.
Qatar was involved in mediation between Israel and Iran to achieve a ceasefire announced by US President Donald Trump on Monday night, a diplomatic source familiar with details told The Jerusalem Post.
Following a security cabinet meeting on Monday night, Prime Minister Benjamin Netanyahu asked ministers to avoid making public statements.
Trump later told NBC News he expects an Israel-Iran ceasefire that he announced on Monday to last "forever."
"I think the ceasefire is unlimited. It's going to go on forever," he told the network.
US receives advance warnings of Iran's attacks
Ahead of his announcement, Trump confirmed that Iran gave advanced notice ahead of an attack on American bases in Qatar and Iraq, which he called a "very weak response" in a social media post late Monday night.
"I am pleased to report that NO Americans were harmed, and hardly any damage was done. Most importantly, they’ve gotten it all out of their 'system,' and there will, hopefully, be no further HATE," the president wrote on Truth Social.
"I want to thank Iran for giving us early notice, which made it possible for no lives to be lost, and nobody to be injured. Perhaps Iran can now proceed to Peace and Harmony in the Region, and I will enthusiastically encourage Israel to do the same."
Trump also expressed his gratitude to the Emir of Qatar in a later post and shared, "CONGRATULATIONS WORLD, IT’S TIME FOR PEACE!"
The president confirmed that 14 Iranian missiles were fired at US bases, with 13 of them "knocked down" and one allowed to land in an open area.
Iran warns against future US attacks
Iran's Foreign Minister Abbas Araghchi said on Monday that Tehran's attack on Al Udeid Air Base in Qatar came in response to the US "aggression against Iran's territorial integrity and sovereignty."
He said Iran will be ready to respond again in case of further action by the US, according to a statement posted by the Iranian foreign ministry's account on Telegram.
Iran's attack on US Middle East assets
Iran launched ballistic missiles towards US bases across the Middle East on Monday evening, including US Central Command (CENTCOM)'s Al Udeid Air Base in Qatar and Ain al-Asad Air Base in Iraq.
Islamic Revolutionary Guard Corps (IRGC)-controlled Fars News released a statement defending the attack by referring to it as a reaction to "the blatant military aggression of the United States against the peaceful nuclear facilities of the Islamic Republic of Iran and the clear violation of international law."
Iran previously threatened attacks on any countries it perceived to be providing military support to Israel during Operation Rising Lion. The US struck several Iranian nuclear sites after the beginning of the operation, which led to Iranian officials justifying attacks on US assets in the region.
James Genn, Amichai Stein and Reuters contributed to this report.