After the Japanese surrender at the end of World War II in 1945, Korea was divided into two zones by the United States and Soviet Union, with the north occupied by the Soviets and the south by the Americans.