The US military attacked Iran early Wednesday after it said Tehran struck three ships in the Strait of Hormuz. The attacks on shipping and the resulting strikes came during the dayslong funeral for Iran’s Supreme Leader Ali Khamenei, who was killed Feb. 28 in the war’s first moments at age 86. The funeral, which ends Thursday, had been thought to be a period of lower tensions — though mourners have repeatedly called for the killings of US President Donald Trump and Israeli Prime Minister Benjamin Netanyahu. Negotiations to reach a final deal had been due to start after Khamenei’s burial and focus on the toughest matters, including fully reopening the strait and rolling back Tehran’s disputed nuclear program. But the new attacks threw that into question. The US military’s Central Command said American forces launched the strikes “to impose heavy costs for targeting and attacking commercial shipping crewed by innocent civilians in an international waterway.” It said it hit Iranian targets including air defense systems, radars and over 60 small boats used by Iran’s Revolutionary Guard. Those boats have been key in harassing ships in the strait. The US military remains “postured and prepared to hold Iran accountable when the agreement is not adhered to or obeyed,” it added, saying this round of attacks had ended. Iran acknowledged the strikes, but offered no word on any losses. Iranian state media reported the sound of explosions in Bandar Abbas, Qeshm and Sirik.