Shares of Asian tech and semiconductor comoanies surged on the news that the U.S. and Iran agreed to a conditional two-week ceasefire.

Earlier, U.S. stocks swung sharply during regular trading as uncertainty about the war with Iran increased after Trump had threatened that a “whole civilization will die tonight."

Asia-Pacific markets were set to open higher after President Donald Trump said he agreed to suspend planned attacks on Iranian infrastructure for two weeks.