President Donald Trump confirmed on Tuesday that the United States launched strikes on Iran, as Tehran warned no one would benefit from a return to war.

It came as US voters prepared to cast their ballots in midterm elections that threaten Trump’s grip on power.

But Trump played down speculation he was preparing to resume bombing Iran once the polls were out of the way.

“We seem to be getting everything we want,” Trump told Britain’s Financial Times newspaper on Tuesday.

“I’m ready, we’re ready. We’re locked and loaded if we need to go, but there may be no reason for it.”

Iran’s chief negotiator in talks with the United States, Mohammad Bagher Ghalibaf, said the Islamic republic was “ready for battle with its finger on the trigger”, while Deputy Foreign Minister Kazem Gharibabadi said Tehran retained the right to “legitimate self-defence” after the strikes.

Iran’s President Masoud Pezeshkian said his government was still trying to resolve the crisis “through dialogue” though, adding that “no one will benefit from this war” if it reignited.

Pezeshkian emphasised that the country’s supreme leader had recently granted the government new powers to negotiate issues that were previously “off-limits”.

Trump confirmed the strikes on Iran in an interview with Fox News, after US media reported strikes on Tehran’s Qeshm Island in the Strait of Hormuz.

“They built an anti-aircraft facility… As soon as it was completed, we hit it last night very nicely,” Trump said on the “Fox & Friends” show, adding that it was a “minor attack”.