North Korea and Russia share close military and security relations. Both nations share interest in an geopolitical alignment in challenging the West. The two states share a border along the lower Tumen River, which is 17 kilometers (11 mi) long.
The Soviet Union occupied the northern part of the Korean Peninsula after the surrender of Japan in 1945. The Soviet Union was responsible for the creation of North Korea, and installed Kim Il Sung as the new nation's leader. After the proclamation of the Democratic People's Republic of Korea in 1948, the Soviet Union became the first country to recognize it as the sole legitimate authority in Korea. The Soviet Union supported North Korea during the Korean War. North Korea received major Soviet military and political support during the Cold War. The personality cult around North Korea's Kim family was heavily influenced by Stalinism. China and the Soviet Union competed for influence in North Korea after the Sino-Soviet split in the 1960s, leading North Korea to seek autonomy from both nations. In 1961, the North Korea and the Soviet Union signed a Treaty of Friendship, Cooperation and Mutual Assistance.