North and South Korea set up a hotline between their leaders on Friday, one week before the two men are set to meet for the first inter-Korean summit in over a decade at the border.

Working-level officials from the two countries tested the line, an official of the South Korea's presidential office said.

South Korean President Moon Jae In and North Korean leader Kim Jong Un are supposed to hold telephone talks before meeting face-to-face next Friday on the southern side of the border village Panmunjeom, but no date has been fixed, according to the office.

The hotline connects the South's presidential office and the North's State Affairs Commission, which Kim heads. It is the first dedicated line to be used by the leaders of the two countries to communicate with each other.

The two countries agreed on the setup of the hotline when Moon's special envoys visited Pyongyang and met with Kim in March.

The two Koreas remain technically at war since the 1950-1953 Korean War ended in a cease-fire.

Inter-Korean relations have been improving since the North decided to take part in the Feb. 9-25 Pyeongchang Winter Olympics hosted by South Korea.