The United States launched strikes against Iranian targets near the Strait of Hormuz on Monday, officials told The Associated Press and CBS News, as negotiations continued over ending the confrontation. The operation came a day before U.S. midterm elections and despite President Donald Trump’s earlier statement that he would not strike Iran before the vote.

The AP report, published by PBS NewsHour, cited an unnamed U.S. official who said the targets were Iranians using surface-to-air missiles against American forces in the strait. CBS separately reported that three U.S. officials described limited defensive strikes; a senior official told the network that Qeshm Island was targeted after Iran’s Revolutionary Guard fired at an American aircraft.

Iranian state media reported explosions on Qeshm and Hengam islands and around Bandar Abbas on the mainland. Those reports did not establish the full extent of the U.S. operation.

Diplomacy remained active. Two regional officials told AP that mediators were advancing a framework under which Iran would stop attacks in the strait and Washington would lift its blockade of Iranian ports. CBS reported that Qatari mediators were involved in the talks. Before the strikes were confirmed, Vice President JD Vance expressed optimism about a possible negotiated settlement.

Israeli Prime Minister Benjamin Netanyahu, meanwhile, had urged Trump to conduct another wave of attacks after the American elections, according to AP’s sources. Trump acknowledged speaking with Netanyahu but did not disclose their discussion, CBS reported. The war and its economic consequences have weighed on both countries’ elections.

The conflict also carries a growing financial burden. CBS reported that a U.S. Central Command estimate put American military costs at at least $47.1 billion through mid-October, excluding damage to U.S. bases in the Middle East.