Korean War: U.S. President Harry S. Truman declares a state of emergency, after Chinese troops enter the fight in support of communist North Korea.

Communism (from Latin communis, 'common, universal') is a far-left sociopolitical, philosophical, and economic ideology and current within the socialist movement whose goal is the establishment of a communist society, a socioeconomic order centered around common ownership of the means of production, distribution, and exchangeallocating products to everyone in the society. It also involves the absence of private property, social classes, money, and the state. Communists often seek a voluntary state of self-governance, but disagree on the means to this end. This reflects a distinction between a more libertarian approach of communization, revolutionary spontaneity, and workers' self-management, and a more vanguardist or communist party-driven approach through the development of a constitutional socialist state followed by Friedrich Engels' withering away of the state.Variants of communism have been developed throughout history, including anarcho-communism and Marxist schools of thought, among others. Communism includes a variety of schools of thought which broadly include Marxism, Leninism, and libertarian communism as well as the political ideologies grouped around both. All of these different ideologies share the analysis that the current order of society stems from capitalism, its economic system and mode of production, that in this system there are two major social classes, that the relationship between these two classes is exploitative, and that this situation can only ultimately be resolved through a social revolution. The two classes are the proletariat (the working class), who make up the majority of the population within society and must sell their labor to survive, and the bourgeoisie (the capitalist class), a small minority that derives profit from employing the working class through private ownership of the means of production. According to this analysis, a communist revolution would put the working class in power and in turn, establish common ownership of property, which is the primary element in the transformation of society towards a communist mode of production.Communism in its modern form grew out of the socialist movement in 19th-century Europe, who blamed capitalism for the misery of urban factory workers. In the 20th century, ostensibly Communist governments espousing MarxismLeninism and its variants came into power in parts of the world, first in the Soviet Union with the Russian Revolution of 1917, and then in portions of Eastern Europe, Asia, and a few other regions after World War II. Along with social democracy, communism became the dominant political tendency within the international socialist movement by the early 1920s. During most of the 20th century, around one-third of the world's population lived under communist governments. These governments were characterized by one-party rule and suppression of opposition and dissent. With the dissolution of the Soviet Union in 1991, several communist governments repudiated or abolished communism altogether. Afterwards, only a small number of communist governments remained, which are China, Cuba, Laos, North Korea and Vietnam. While the emergence of the Soviet Union as the world's first nominally Communist state led to communism's widespread association with the Soviet economic model, several scholars posit that in practice, the model functioned as a form of state capitalism.Public memory of 20th-century Communist states has been described as "a battleground" between the communist sympathetic political left and the anti-communist political right. Many authors have written about excess deaths under Communist states and mortality rates, such as excess mortality in the Soviet Union under Joseph Stalin.

The Korean War (see § Names) was a war fought between North Korea and South Korea from 1950 to 1953. The war began on 25 June 1950 when North Korea invaded South Korea following clashes along the border and rebellions in South Korea. North Korea was supported by China and the Soviet Union while South Korea was supported by the United Nations, principally the United States. The fighting ended with an armistice on 27 July 1953.

In 1910, Imperial Japan annexed Korea, where it ruled for 35 years until its surrender at the end of World War II on 15 August 1945. The United States and the Soviet Union divided Korea along the 38th parallel into two zones of occupation. The Soviets administered the northern zone and the Americans administered the southern zone. In 1948, as a result of Cold War tensions, the occupation zones became two sovereign states. A socialist state, the Democratic People's Republic of Korea, was established in the north under the totalitarian communist leadership of Kim Il-sung while a capitalist state, the Republic of Korea, was established in the south under the authoritarian autocratic leadership of Syngman Rhee. Both governments of the two new Korean states claimed to be the sole legitimate government of all of Korea, and neither accepted the border as permanent.

North Korean military (Korean People's Army (KPA)) forces crossed the border and drove into South Korea on 25 June 1950. The United Nations Security Council denounced the North Korean move as an invasion and authorized the formation of the United Nations Command and the dispatch of forces to Korea to repel it. The Soviet Union was boycotting the UN for recognizing Taiwan (Republic of China) as China, and China (People's Republic of China) on the mainland was not recognized by the UN, so neither could support their ally North Korea at the Security Council meeting. Twenty-one countries of the United Nations eventually contributed to the UN force, with the United States providing around 90% of the military personnel.After the first two months of war, South Korean Army (ROKA) and American forces hastily dispatched to Korea were on the point of defeat, retreating to a small area behind a defensive line known as the Pusan Perimeter. In September 1950, a risky amphibious UN counteroffensive was launched at Incheon, cutting off KPA troops and supply lines in South Korea. Those who escaped envelopment and capture were forced back north. UN forces invaded North Korea in October 1950 and moved rapidly towards the Yalu River—the border with China—but on 19 October 1950, Chinese forces of the People's Volunteer Army (PVA) crossed the Yalu and entered the war. The UN retreated from North Korea after the First Phase Offensive and the Second Phase Offensive. Chinese forces were in South Korea by late December.

In these and subsequent battles, Seoul was captured four times, and communist forces were pushed back to positions around the 38th parallel, close to where the war had started. After this, the front stabilized, and the last two years were a war of attrition. The war in the air, however, was never a stalemate. North Korea was subject to a massive US bombing campaign. Jet fighters confronted each other in air-to-air combat for the first time in history, and Soviet pilots covertly flew in defense of their communist allies.

The fighting ended on 27 July 1953 when the Korean Armistice Agreement was signed. The agreement created the Korean Demilitarized Zone (DMZ) to separate North and South Korea, and allowed the return of prisoners. However, no peace treaty was ever signed, and the two Koreas are technically still at war, engaged in a frozen conflict. In April 2018, the leaders of North and South Korea met at the DMZ and agreed to work toward a treaty to formally end the Korean War.The Korean War was among the most destructive conflicts of the modern era, with approximately 3 million war fatalities and a larger proportional civilian death toll than World War II or the Vietnam War. It incurred the destruction of virtually all of Korea's major cities, thousands of massacres by both sides, including the mass killing of tens of thousands of suspected communists by the South Korean government, and the torture and starvation of prisoners of war by the North Koreans. North Korea became among the most heavily bombed countries in history. Additionally, several million North Koreans are estimated to have fled North Korea over the course of the war.