North and South Korea agreed at talks Monday to form joint teams for some sporting events at this summer's Asian Games in Indonesia, and to have their athletes march together during the opening and closing ceremonies.

"The government will expand inter-Korean exchanges, including participation in the Asian Games as a unified team, to support improvement in the inter-Korean relationship," South Korea's Sports Ministry said in a statement issued after the talks in the truce village of Panmunjeom.

The Asian Games, the world's second-largest multisport event after the Olympics, will take place from Aug. 18 to Sept. 2, mainly in Jakarta.

The two Koreas marched together at previous Asian Games, in 2002 and 2006, as well as at the Asian Winter Games in 2003 and 2007. But they did not form joint teams then, as they have done at other sporting events.

The statement said the two sides also agreed in Monday's talks to hold next month an inter-Korean basketball match in Pyongyang, as proposed by North Korean leader Kim Jong Un when he met with South Korean President Moon Jae In on April 27 in Panmunjeom.

Another one will be held in the fall in Seoul.

In the declaration issued following their summit, the two sides agreed "to demonstrate their collective wisdom, talents, and solidarity by jointly participating in international sports events such as the 2018 Asian Games."

Ahead of Monday talks, South Korean delegation leader Jeon Choong Ryul, secretary general of the Korean Sport & Olympic Committee, told reporters, "We saw from the Pyeongchang Winter Olympics, sports was the starting point of inter-Korean talks. I hope sports can be a guide for greater cooperation between the two Koreas going forward."

North Korea sent athletes to the Winter Olympics hosted in Pyeongchang, South Korea, between Feb. 9 and 25, and the two countries formed a unified woman's hockey team then.