The war arose from the division of Korea at the end of World War II and from the global tensions of the Cold War that developed immediately afterwards.