by Kanga Kong and Andy Sharp 

North Korean leader Kim Jong Un and South Korean President Moon Jae-in agreed Friday to finally end a seven-decade war this year, and pursue the “complete denuclearization” of the Korean Peninsula.

The two leaders embraced after signing the deal during a historic meeting on their shared border, the first time a North Korean leader has set foot on the southern side. They announced plans to formally declare a resolution to the war and replace 1953 armistice that ended open hostilities into a peace treaty by year’s end.

“We have agreed to share a firm determination to open a new era in which all Korean people enjoy prosperity and happiness on a peaceful land without wars,” Kim said, in his first remarks in front of the global press since taking power in 2011.

The two sides “confirmed the common goal of realising, through complete denuclearization, a nuclear-free Korean Peninsula.” “South and North Korea agreed to actively seek the support and cooperation of the international community for the denuclearization of the Korean Peninsula,” according to the statement. It didn’t elaborate on what that would entail.

U.S. President Donald Trump expressed optimism about the meeting in a tweet, “saying good things are happening, but only time will tell.”

Reaction in markets was limited given the South Korean stock market had closed for the week when the deal was announcement landed.

The cost of insuring South Korea’s sovereign bonds against non-payment fell 1.75 basis points to 44.75 basis points as of 6:10 p.m. in Seoul, Barclays Plc prices showed. The credit-default swap contracts, are on track for their lowest close since March 14, according to data provider CMA.

The stakes remain high, with Kim on the cusp of developing a missile capable of delivering one of his estimated 60 nuclear bombs to any city in the U.S. -- a step Trump has threatened war to stop.

Kim and Moon said they would hold military talks next month and seek a “phased disarmament,” without providing more details.