The United States and Iran agreed to a two-week ceasefire barely an hour before President Donald Trump's Wednesday deadline to obliterate the country was set to expire, with Tehran to temporarily reopen the vital Strait of Hormuz.

Both sides claimed to have won the more than month-long conflict that has roiled global financial markets and sent oil prices skyrocketing, with Trump telling AFP the deal was a "total and complete victory" for the US.

Originally published on doc.afp.com, part of the BLOX Digital Content Exchange.