US president Donald Trump said the United States was just an hour away from launching a fresh military strike on Iran, with naval warships armed and ready, before a possible diplomatic opening prompted a pause.

US President Donald Trump said leaders from Qatar, Saudi Arabia and the UAE had urged him to delay the attack because they believed a deal could still be reached.

US president says he halted attack after Gulf leaders urged restraint, but warns military remains ready for large-scale assault