North Korea had taken over much of South Korea by force. With the help of the other countries, South Korea took back their land, and even much of North Korea, up to the Yalu River, which forms the border between North Korea and China. China, which was also communist, helped the North Koreans to get the land back that the South Korean soldiers had taken.