On 27 April, a summit took place between Moon and Kim in the South Korean zone of the Joint Security Area. It was the first time since the Korean War that a North Korean leader had entered South Korean territory. North Korean leader Kim Jong-un and South Korea's President Moon Jae-in met at the line that divides Korea. The summit ended with both countries pledging to work towards complete denuclearization of the Korean Peninsula. They also vowed to declare an official end to the Korean War within a year. As part of the Panmunjom Declaration which was signed by leaders of both countries, both sides also called for the end of longstanding military activities in the region of the Korean border and a reunification of Korea. Also, the leaders agreed to work together to connect and modernise their railways.