North and South Korea agreed at high-level military talks Thursday to restore their military communication lines in the Sea of Japan and Yellow Sea areas, according to a joint statement.

The statement, issued after the daylong meeting of general-rank officers in Panmunjom, said the two sides also exchanged opinions about demilitarizing the Joint Security Area at Panmunjom to ease tensions.

The meeting at Tongilgak, a building on the North Korean side of Panmunjom, was the first of its kind between the two Koreas since December 2007.