Question: In which century did the country where the person stripped of commanding rights by China was a citizen invade Afghanistan?

full_context: Document 1: History of Central Asia: With the collapse of the Soviet Union in 1991, five Central Asian countries gained independence -- Kazakhstan, Uzbekistan, Turkmenistan, Kyrgyzstan, and Tajikistan. In all of the new states, former Communist Party officials retained power as local strongmen.
Document 2: Korean War: During most of the war, the UN navies patrolled the west and east coasts of North Korea, sinking supply and ammunition ships and denying the North Koreans the ability to resupply from the sea. Aside from very occasional gunfire from North Korean shore batteries, the main threat to United States and UN navy ships was from magnetic mines. During the war, five U.S. Navy ships were lost to mines: two minesweepers, two minesweeper escorts, and one ocean tug. Mines and gunfire from North Korean coastal artillery damaged another 87 U.S. warships, resulting in slight to moderate damage.
Document 3: Korean War: The resultant South Korean government promulgated a national political constitution on 17 July 1948, and elected Syngman Rhee as president on 20 July 1948. The Republic of Korea (South Korea) was established on 15 August 1948. In the Soviet Korean Zone of Occupation, the Soviet Union established a communist government led by Kim Il - sung.
Document 4: Korean War: On 27 June, Rhee evacuated from Seoul with some of the government. On 28 June, at 2 am, the South Korean Army blew up the highway bridge across the Han River in an attempt to stop the North Korean army. The bridge was detonated while 4,000 refugees were crossing the bridge, and hundreds were killed. Destroying the bridge also trapped many South Korean military units north of the Han River. In spite of such desperate measures, Seoul fell that same day. A number of South Korean National Assemblymen remained in Seoul when it fell, and forty-eight subsequently pledged allegiance to the North.
Document 5: Korean War: The resultant South Korean government promulgated a national political constitution on 17 July 1948, and elected Syngman Rhee as President on 20 July 1948. The Republic of Korea (South Korea) was established on 15 August 1948. In the Russian Korean Zone of Occupation, the Soviet Union established a Communist North Korean government led by Kim Il-sung. President Rhee's régime excluded communists and leftists from southern politics. Disenfranchised, they headed for the hills, to prepare for guerrilla war against the US-sponsored ROK Government.
Document 6: Korean War: Korea was ruled by Japan from 1910 until the closing days of World War II. In August 1945, the Soviet Union declared war on Japan and—by agreement with the United States—occupied Korea north of the 38th parallel. U.S. forces subsequently occupied the south and Japan surrendered. By 1948, two separate governments had been set up. Both governments claimed to be the legitimate government of Korea, and neither side accepted the border as permanent. The conflict escalated into open warfare when North Korean forces—supported by the Soviet Union and China—invaded South Korea on 25 June 1950. On that day, the United Nations Security Council recognized this North Korean act as invasion and called for an immediate ceasefire. On 27 June, the Security Council adopted S/RES/83: Complaint of aggression upon the Republic of Korea and decided the formation and dispatch of the UN Forces in Korea. Twenty-one countries of the United Nations eventually contributed to the defense of South Korea, with the United States providing 88% of the UN's military personnel.
Document 7: Korean War: During the Hungnam evacuation, about 193 shiploads of UN Command forces and matériel (approximately 105,000 soldiers, 98,000 civilians, 17,500 vehicles, and 350,000 tons of supplies) were evacuated to Pusan. The SS Meredith Victory was noted for evacuating 14,000 refugees, the largest rescue operation by a single ship, even though it was designed to hold 12 passengers. Before escaping, the UN Command forces razed most of Hungnam city, especially the port facilities; and on 16 December 1950, President Truman declared a national emergency with Presidential Proclamation No. 2914, 3 C.F.R. 99 (1953), which remained in force until 14 September 1978.[b] The next day (17 December 1950) Kim Il-sung was deprived of the right of command of KPA by China. After that, the leading part of the war became the Chinese army. Following that, on 1 February 1951, United Nations General Assembly adopted a draft resolution condemning China as an aggressor in the Korean War.
Document 8: List of leaders of North Korea: At the end of World War II, Soviet Union occupied the northern half of Korea and in 1946 established the Provisional People's Committee for North Korea chaired by Kim Il-sung. On 9 September 1948, the DPRK was proclaimed, also led by Kim Il-sung.
Document 9: Korean War: Korea was ruled by Imperial Japan from 1910 until the closing days of World War II. In August 1945, the Soviet Union declared war on Imperial Japan, as a result of an agreement with the United States, and liberated Korea north of the 38th parallel. U.S. forces subsequently moved into the south. By 1948, as a product of the Cold War between the Soviet Union and the United States, Korea was split into two regions, with separate governments. Both claimed to be the legitimate government of all of Korea, and neither accepted the border as permanent. The conflict escalated into open warfare when North Korean forces -- supported by the Soviet Union and China -- moved into the south on 25 June 1950. On 27 June, the United Nations Security Council authorized the formation and dispatch of UN forces to Korea to repel what was recognized as a North Korean invasion. Twenty - one countries of the United Nations eventually contributed to the UN force, with the United States providing 88% of the UN's military personnel.
Document 10: Islam in Central Asia: Islam in Central Asia has existed since the beginning of Islamic history. Islam is the most widely practiced religion in Central Asia. The Hanafi school of thought of Sunnism is the most popular, with Shiism of Imami and Ismaili denominations predominating in the Pamir plateau and the western Tian Shan mountains (almost exclusively Ismailis), while boasting to a large minority population in the Zarafshan river valley, from Samarkand to Bukhara (almost exclusively Imamis). Islam came to Central Asia in the early part of the 8th century as part of the Muslim conquest of the region. Many well-known Islamic scientists and philosophers came from Central Asia, and several major Muslim empires, including the Timurid Empire and the Mughal Empire, originated in Central Asia. In the 20th century, severe restrictions on religious practice were enacted by the Soviet Union in Soviet Central Asia and the People's Republic of China in Xinjiang. Concerns about Islamic radicalism and religious freedom in the region persist to this day.
Document 11: Korean War: Meanwhile, U.S. garrisons in Japan continually dispatched soldiers and matériel to reinforce defenders in the Pusan Perimeter. Tank battalions deployed to Korea directly from the U.S. mainland from the port of San Francisco to the port of Pusan, the largest Korean port. By late August, the Pusan Perimeter had some 500 medium tanks battle-ready. In early September 1950, ROK Army and UN Command forces outnumbered the KPA 180,000 to 100,000 soldiers. The UN forces, once prepared, counterattacked and broke out of the Pusan Perimeter.
Document 12: Modern history: In Asia, various Chinese dynasties and Japanese shogunates controlled the Asian sphere. In Japan, the Edo period from 1600 to 1868 is also referred to as the early modern period. And in Korea, from the rising of Joseon Dynasty to the enthronement of King Gojong is referred to as the early modern period. In the Americas, Native Americans had built a large and varied civilization, including the Aztec Empire and alliance, the Inca civilization, the Mayan Empire and cities, and the Chibcha Confederation. In the west, the European kingdoms and movements were in a movement of reformation and expansion. Russia reached the Pacific coast in 1647 and consolidated its control over the Russian Far East in the 19th century.
Document 13: Korean War: Acting on State Secretary Acheson's recommendation, President Truman ordered General MacArthur to transfer matériel to the Army of the Republic of Korea while giving air cover to the evacuation of U.S. nationals. The President disagreed with advisers who recommended unilateral U.S. bombing of the North Korean forces, and ordered the US Seventh Fleet to protect the Republic of China (Taiwan), whose government asked to fight in Korea. The United States denied ROC's request for combat, lest it provoke a communist Chinese retaliation. Because the United States had sent the Seventh Fleet to "neutralize" the Taiwan Strait, Chinese premier Zhou Enlai criticized both the UN and U.S. initiatives as "armed aggression on Chinese territory."
Document 14: History of Central Asia: The dominance of the nomads ended in the 16th century as firearms allowed settled people to gain control of the region. The Russian Empire, the Qing dynasty of China, and other powers expanded into the area and seized the bulk of Central Asia by the end of the 19th century. After the Russian Revolution of 1917, the Soviet Union incorporated most of Central Asia; only Mongolia and Afghanistan remained nominally independent, although Mongolia existed as a Soviet satellite state and Soviet troops invaded Afghanistan in the late 20th century. The Soviet areas of Central Asia saw much industrialisation and construction of infrastructure, but also the suppression of local cultures and a lasting legacy of ethnic tensions and environmental problems.
Document 15: Qing dynasty: By the mid-18th century, the Qing had successfully put outer regions such as Inner and Outer Mongolia, Tibet and Xinjiang under its control. Imperial commissioners and garrisons were sent to Mongolia and Tibet to oversee their affairs. These territories were also under supervision of a central government institution called Lifan Yuan. Qinghai was also put under direct control of the Qing court. Xinjiang, also known as Chinese Turkestan, was subdivided into the regions north and south of the Tian Shan mountains, also known today as Dzungaria and Tarim Basin respectively, but the post of Ili General was established in 1762 to exercise unified military and administrative jurisdiction over both regions. Dzungaria was fully opened to Han migration by the Qianlong Emperor from the beginning. Han migrants were at first forbidden from permanently settling in the Tarim Basin but were the ban was lifted after the invasion by Jahangir Khoja in the 1820s. Likewise, Manchuria was also governed by military generals until its division into provinces, though some areas of Xinjiang and Northeast China were lost to the Russian Empire in the mid-19th century. Manchuria was originally separated from China proper by the Inner Willow Palisade, a ditch and embankment planted with willows intended to restrict the movement of the Han Chinese, as the area was off-limits to civilian Han Chinese until the government started colonizing the area, especially since the 1860s.
ground_truth: 20th century
sub_queries: Who was stripped of their commanding rights by China? Answer: Kim Il-sung
Kim Il-sung >> country of citizenship Answer: Soviet Union
In which century did Soviet Union invade Afghanistan? Answer: 20th century