On Tuesday morning, United States President Donald Trump announced a ceasefire between Israel and Iran, which he said would end the 12-day conflict in stages.
The hours that followed were marked by uncertainty, with neither country appearing to publicly agree to the deal in the lead-up to Trump saying it was "in effect" on Tuesday afternoon.
Israel made no official statement leading up to Trump announcing the ceasefire had come into effect. Similarly, Iran's foreign minister said no agreement had reached, but that it would halt its attacks if Israel stopped its "illegal aggression" towards Iran.
The Israeli military reported multiple waves of Iranian missile attacks after Trump's initial announcement, which killed at least four people and injured several others in southern Israel.
Israeli Prime Minister Benjamin Netanyahu's office has now said that Israel has agreed to the proposal.
In a statement on Tuesday afternoon, Netanyahu's office said that Israel had achieved its goals of removing Iran's "nuclear and ballistic missile" threat.
Israel has also reopened its airspace to incoming flights after it had grounded planes due to Iranian missile fire.
The Iranian media has also reported that the ceasefire has come into effect, despite no formal acknowledgement from Iranian officials.
After the latest round of strikes, Trump said the ceasefire between Israel and Iran "is now in effect" and urged both countries not to violate it.
"The ceasefire is now in effect. Please do not violate it!" he wrote in a post on his Truth Social platform.
How was the ceasefire deal made?
It's understood Trump made a call with Netanyahu to negotiate, while Qatar's Prime Minister Sheikh Mohammed bin Abdulrahman Al Thani secured Iran's agreement to a deal.
US vice president JD Vance, secretary of state Marco Rubio and US special envoy Steve Witkoff also held direct and indirect contact with the Iranians, according to Reuters.
Trump appeared to suggest Israel and Iran would have some time to complete any missions that are underway, at which point the ceasefire would start in a staged process.
"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'," he wrote on social media.
Hours earlier, three Israeli officials signalled Israel was looking to wrap up its campaign in Iran soon and had passed the message on to the US.
Netanyahu told government ministers, whose discussions ended early on Tuesday, not to speak publicly, according to Israel's Channel 12 television.
Is this the end of the fighting?
After his ceasefire announcement, Trump told NBC News the deal is "unlimited" and was "going to go forever".
Earlier on Monday, Trump said he would encourage Israel to proceed towards peace, after dismissing Iran's attack on a US air base that caused no injuries and thanking Iran for the early notice of the strikes.
Iran's attack came after US bombers dropped 30,000-pound bunker-busters on Iranian underground nuclear facilities over the weekend, joining Israel's air war against Iran in a conflict that stretched across 12 days.