Question: In which century did the country where the territory transferred along with the Chechen-Ingush Autonomous Soviet Socialist Republic can be found invade Afghanistan?

full_context: Document 1: Russian Soviet Federative Socialist Republic: Many regions in Russia were affected by the Soviet famine of 1932–1933: Volga; Central Black Soil Region; North Caucasus; the Urals; the Crimea; part of Western Siberia; and the Kazak ASSR. With the adoption of the 1936 Soviet Constitution on December 5, 1936, the size of the RSFSR was significantly reduced. The Kazakh ASSR and Kirghiz ASSR were transformed into the Kazakh and Kirghiz Soviet Socialist Republics. The Karakalpak Autonomous Socialist Soviet Republic was transferred to the Uzbek SSR.
Document 2: Karachay Autonomous Oblast: Karachay Autonomous Oblast was an autonomous oblast in the Soviet Union created on 26 April 1926. It was formed by the split of the Karachay-Cherkess Autonomous Oblast in 1926, creating Karachay and Cherkess Autonomous Oblast. Karachay Autonomous Oblast was dissolved during World War II, when the Karachay people were exiled to Central Asia for their alleged collaboration with the Germans. During this time, part of the territory was incorporated into the Georgian SSR. In 1957 it and the Cherkess Autonomous Oblast merged to reinstate the Karachay-Cherkess Autonomous Oblast.
Document 3: Russian Soviet Federative Socialist Republic: On December 25, 1991, the Russian SFSR was renamed the Russian Federation. On December 26, 1991, the USSR was self-dissolved by the Soviet of Nationalities, which by that time was the only functioning house of the Supreme Soviet (the other house, Soviet of the Union, had already lost the quorum after recall of its members by the union republics). After dissolution of the USSR, Russia declared that it assumed the rights and obligations of the dissolved central Soviet government, including UN membership.
Document 4: 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 5: 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 6: 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.
Document 7: Dissolution of the Soviet Union: In February 20, 1988, after a week of growing demonstrations in Stepanakert, capital of the Nagorno-Karabakh Autonomous Oblast (the Armenian majority area within Azerbaijan Soviet Socialist Republic), the Regional Soviet voted to secede and join with the Soviet Socialist Republic of Armenia. This local vote in a small, remote part of the Soviet Union made headlines around the world; it was an unprecedented defiance of republic and national authorities. On February 22, 1988, in what became known as the "Askeran clash", two Azerbaijanis were killed by Karabakh police. These deaths, announced on state radio, led to the Sumgait Pogrom. Between February 26 and March 1, the city of Sumgait (Azerbaijan) saw violent anti-Armenian rioting during which 32 people were killed. The authorities totally lost control and occupied the city with paratroopers and tanks; nearly all of the 14,000 Armenian residents of Sumgait fled.
Document 8: Chechnya: Chechen Republic Чеченская Республика (Russian) Нохчийн Республика (Chechen) -- Republic -- Flag Coat of arms Anthem: Shatlak's Song Coordinates: 43 ° 24 ′ N 45 ° 43 ′ E ﻿ / ﻿ 43.400 ° N 45.717 ° E ﻿ / 43.400; 45.717 Coordinates: 43 ° 24 ′ N 45 ° 43 ′ E ﻿ / ﻿ 43.400 ° N 45.717 ° E ﻿ / 43.400; 45.717 Political status Country Russia Federal district North Caucasian Economic region North Caucasus Established January 10, 1993 Capital Grozny Government (as of January 2015) Head Ramzan Kadyrov Legislature Parliament Statistics Area (as of the 2002 Census) Total 17,300 km (6,700 sq mi) Area rank 75th Urban 32.1% Population (January 2016 est.) Total 1,395,678 Time zone (s) MSK (UTC + 03: 00) ISO 3166 - 2 RU - CE License plates 95 Official languages Russian; Chechen Official website
Document 9: Russian Soviet Federative Socialist Republic: The Russian Soviet Federative Socialist Republic (Russian SFSR or RSFSR; Russian: Российская Советская Федеративная Социалистическая Республика, tr. Rossiyskaya Sovetskaya Federativnaya Sotsialisticheskaya Respublika  listen (help·info)) commonly referred to as Soviet Russia or simply as Russia, was a sovereign state in 1917–22, the largest, most populous, and most economically developed republic of the Soviet Union in 1922–91 and a sovereign part of the Soviet Union with its own legislation in 1990–91. The Republic comprised sixteen autonomous republics, five autonomous oblasts, ten autonomous okrugs, six krais, and forty oblasts. Russians formed the largest ethnic group. To the west it bordered Finland, Norway and Poland; and to the south, China, Mongolia and North Korea whilst bordering the Arctic Ocean to the north, the Pacific Ocean to the east and the Black sea and Caspian Sea to the south. Within the USSR, it bordered the Baltic republics (Lithuania, Latvia and Estonia), the Byelorussian SSR and the Ukrainian SSR to the west. To the south it bordered the Georgian, Azerbaijan and Kazakh SSRs.
Document 10: Russian Soviet Federative Socialist Republic: On December 24, Yeltsin informed the Secretary-General of the United Nations that by agreement of the member states of the CIS Russian Federation would assume the membership of the Soviet Union in all UN organs (including permanent membership in the UN Security Council). Thus, Russia is considered to be an original member of the UN (since October 24, 1945) along with Ukraine (Ukrainian SSR) and Belarus (Byelorussian SSR). On December 25—just hours after Gorbachev resigned as president of the Soviet Union—the Russian SFSR was renamed the Russian Federation (Russia), reflecting that it was now a sovereign state with Yeltsin assuming the Presidency. The change was originally published on January 6, 1992 (Rossiyskaya Gazeta). According to law, during 1992, it was allowed to use the old name of the RSFSR for official business (forms, seals and stamps). The Russian Federation's Constitution (Fundamental Law) of 1978, though with the 1991–1992 Amendements, remained in effect until the 1993 Russian constitutional crisis.
Document 11: Russian Soviet Federative Socialist Republic: In 1943, Karachay Autonomous Oblast was dissolved by Joseph Stalin, when the Karachays were exiled to Central Asia for their alleged collaboration with the Germans and territory was incorporated into the Georgian SSR.
Document 12: 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 13: 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 14: Russian Soviet Federative Socialist Republic: On January 9, 1957, Karachay Autonomous Oblast and Chechen-Ingush Autonomous Soviet Socialist Republic were restored by Khrushchev and they were transferred from the Georgian SSR back to the Russian SFSR.
Document 15: East Prussia: After the expulsion of the German population ethnic Russians, Belarusians, and Ukrainians were settled in the northern part. In the Soviet part of the region, a policy of eliminating all remnants of German history was pursued. All German place names were replaced by new Russian names. The exclave was a military zone, which was closed to foreigners; Soviet citizens could only enter with special permission. In 1967 the remnants of Königsberg Castle were demolished on the orders of Leonid Brezhnev to make way for a new "House of the Soviets".
ground_truth: 20th century
sub_queries: What territory was transferred along with the Chechen-Ingush Autonomous Soviet Socialist Republic? Answer: Karachay Autonomous Oblast
Karachay Autonomous Oblast >> country Answer: Soviet Union
In which century did Soviet Union invade Afghanistan? Answer: 20th century