The attacks happened as ceasefire negotiations between the US and Iran stalled, with a deal to end the war failing to advance.
The US and Israel launched wide-ranging strikes on Iran on 28 February, sparking conflict across the Middle East.
Iran responded by attacking Israel and US-allied states in the Gulf, and effectively closing the Strait of Hormuz, through which around 20% of the world’s oil and liquefied natural gas travels. The move sent oil prices soaring globally.
Shortly after a ceasefire was agreed in early April, the US established a blockade of Iranian ports which President Donald Trump says will remain “in full force and effect until an agreement is reached, certified, and signed”.