South Korean officials have said North Korean troops fired multiple gunshots towards the South in the Demilitarized Zone dividing the two countries, prompting South Korean forces to fire back.

The rare exchange of gunfire comes a day after North Korean state media reported that leader Kim Jong-un had made his first public appearance in nearly three weeks following an absence that triggered intense speculation about his health and fears about the stability of the isolated nation.

A South Korean guard post was hit by several shots from the North, the joint chiefs of staff (JCS) in Seoul said in a statement, adding no casualties were reported in the South.

"Our military responded with two rounds of gunfire and a warning announcement," the JCS said.

The South Korean military later said the North Korean gunshots were "not deemed intentional", according to the Yonhap news agency.

We need your consent to load this rte-player contentWe use rte-player to manage extra content that can set cookies on your device and collect data about your activity. Please review their details and accept them to load the content.Manage Preferences

The two neighbours remain technically at war after the Korean War ended with an armistice in 1953, and despite its name, the Demilitarized Zone is one of the most fortified places on earth, replete with minefields and barbed-wire fences.

Easing military tensions on their border was one of the agreements reached between Mr Kim and South Korean President Moon Jae-in at a summit in Pyongyang in September 2018.

But most of the deals have not been acted on by North Korea, with Pyongyang largely cutting off contact with Seoul.

Donald Trump met the North Korean leader at the DMZ in June 2019

North Korea's discussions with the United States over Pyongyang's nuclear arsenal are also at a standstill, despite three meetings between Mr Kim and US President Donald Trump.

The uncertainty around the process would have increased had Mr Kim been incapacitated or dead as rumoured in recent weeks.

North Korean state television, however, showed him walking, smiling broadly and smoking a cigarette at what it said was the opening of a fertiliser factory on Friday.

Read more:
N Korea leader Kim makes public appearance at factory

A day later Mr Trump said he was pleased about Mr Kim's reappearance and that the North Korean leader is apparently healthy.

"I, for one, am glad to see he is back, and well!" the president tweeted.

Before Mr Kim's reappearance, US Secretary of State Mike Pompeo said last month that he remained hopeful a nuclear deal could be clinched with North Korea.

"Regardless of what transpires inside of North Korea with respect to their leadership, our mission remains the same - to deliver on that commitment that Chairman Kim made with President Trump... (the) verified denuclearisation of North Korea," Mr Pompeo told reporters.

"We are still hopeful that we'll find a path to negotiate that solution to get the outcome that is good for the American people, good for the North Korean people and for the whole world."