U.S. President Donald Trump speaks to the press in the Oval Office of the White House in Washington, June 3. AFP-Yonhap

ISLAMABAD — The United States and Iran have reached an initial agreement to end their war and open the Strait of Hormuz, offering relief to the Gulf region and global economy more than three months since fighting began.

Details of the deal were not immediately released and Iran signaled implementation would not start until the signing, which key mediator Pakistan said would occur Friday in Switzerland. It was expected to extend the tenuous ceasefire reached in April so that negotiators can try to resolve thorny issues such as Iran's nuclear program and related sanctions.

There was no immediate word from Israel, which together with the U.S. started the war on Feb. 28 but has expressed skepticism about the negotiations.

But even as it became clear the parties still have days to influence what lies ahead, the announcements had an air of relief.