Gyeongui Line (1904–1945)
Following Japan's defeat in the Pacific War and the subsequent partition of Korea, the Gyeongui Line was divided at the 38th parallel between North and South Korea. On 25 August 1945, the Soviet Army began operating trains on the line north of Sariwon, whilst trains in the south terminated at Gaeseong. In 1946, the railways in both North and South were nationalised, creating the Korean National Railroad in the South and the Korean State Railway in the North. After the Korean War, the Gyeongui Line was split into three sections. In the South, the Seoul–Jangdan section became the KNR's Gyeongui Line, retaining the same name; in the North, the Bongdong–Pyeongyang section became the P'yŏngbu Line, whilst the Pyeongyang–Sinuiju section became the P'yŏngŭi Line.
Border control
As a result of the partition of the Korean peninsula by America and the Soviet Union after World War II, and exacerbated by the subsequent Korean war, there is a Demilitarised Zone (Korean Chosŏn'gŭl/Hangul: 한반도 비무장 지대; Hanja: 韓半島非武裝地帶) spanning the de facto border between North and South Korea. The Demilitarised Zone follows the effective boundaries as of the end of the Korean War in 1953. Similarly to the Frontier Closed Area in Hong Kong, this zone and the defence apparatus that exists on both sides of the border serve to curtail unauthorised passage between the two sides. In South Korea, there is an additional fenced-off area between the Civilian Control Line and the start of the Demilitarised Zone, further strengthening border security