Question: When was the host city of the 2020 Winter Olympics made the capital of China?

full_context: Document 1: Nanjing: Nanjing, one of the nation's most important cities for over a thousand years, is recognized as one of the Four Great Ancient Capitals of China, and had been the world's largest city aggregately for hundreds of years, enjoyed peace and prosperity and beared wars and disasters. Nanjing served as the capital of Eastern Wu, one of the three major states in the Three Kingdoms period (211-280); the Eastern Jin and each of the Southern Dynasties (Liu Song, Southern Qi, Liang and Chen), which successively ruled southern China from 317-589; the Southern Tang, one of the Ten Kingdoms (937-76); the Ming dynasty when, for the first time, all of China was ruled from the city (1368-1421); and the Republic of China (1927–37, 1945–49) prior to its flight to Taiwan during the Chinese Civil War. The city also served as the seat of the rebel Taiping Heavenly Kingdom (1851–64) and the Japanese puppet regime of Wang Jingwei (1940–45) during the Second Sino-Japanese War, and suffered appalling atrocities in both conflicts, including the Nanjing Massacre. It has been serving as the capital city of Jiangsu province after the China was established, and is still the nominal capital of Republic of China that accommodates many of its important heritage sites, including the Presidential Palace and Sun Yat-sen Mausoleum. Nanjing is famous for human historical landscapes, mountains and waters such as Fuzimiao, Ming Palace, Chaotian Palace, Porcelain Tower, Drum Tower, Stone City, City Wall, Qinhuai River, Xuanwu Lake and Purple Mountain. Key cultural facilities include Nanjing Library, Nanjing Museum and Art Museum.
Document 2: History of the Forbidden City: The site of the Forbidden City was situated on the Imperial city during the Mongol Yuan Dynasty. After the collapse of the Yuan Dynasty, the Hongwu Emperor of the Ming Dynasty moved the capital from Beijing in the north to Nanjing in the south, and in 1369 ordered that the Yuan palaces be razed. His son Zhu Di was created Prince of Yan with his seat in Beijing. In 1402, Zhu Di usurped the throne and became the Yongle Emperor. He made Beijing a secondary capital of the Ming empire, and construction began in 1406 of what would become the Forbidden City. The Forbidden City's plan was designed by many architects and designers, and then it was examined by the Emperor's Ministry of Work. The chief architects and engineers include Cai Xin, Nguyen An, a Vietnamese eunuch, Kuai Xiang, Lu Xiang and others.
Document 3: Yuan dynasty: Kublai readied the move of the Mongol capital from Karakorum in Mongolia to Khanbaliq in 1264, constructing a new city near the former Jurchen capital Zhongdu, now modern Beijing, in 1266. In 1271, Kublai formally claimed the Mandate of Heaven and declared that 1272 was the first year of the Great Yuan (Chinese: 大元) in the style of a traditional Chinese dynasty. The name of the dynasty originated from the I Ching and describes the "origin of the universe" or a "primal force". Kublai proclaimed Khanbaliq the "Great Capital" or Daidu (Dadu, Chinese: 大都 in Chinese) of the dynasty. The era name was changed to Zhiyuan to herald a new era of Chinese history. The adoption of a dynastic name legitimized Mongol rule by integrating the government into the narrative of traditional Chinese political succession. Khublai evoked his public image as a sage emperor by following the rituals of Confucian propriety and ancestor veneration, while simultaneously retaining his roots as a leader from the steppes.
Document 4: 2022 Winter Olympics: The 2022 Winter Olympics, officially known as the XXIV Olympic Winter Games (French: Les XXIV Jeux olympiques d'hiver; Chinese: 第二十四届冬季奥林匹克运动会; pinyin: Dì Èrshísì Jiè Dōngjì Àolínpǐkè Yùndònghuì), and commonly known as Beijing 2022, is an international winter multi-sport event that is scheduled to take place from 4 to 20 February 2022, in Beijing and towns in the neighbouring Hebei province, People's Republic of China.
Document 5: Forbidden City: The Forbidden City is a palace complex in central Beijing, China. The former Chinese imperial palace from the Ming dynasty to the end of the Qing dynasty -- the years 1420 to 1912, it now houses the Palace Museum. The Forbidden City served as the home of emperors and their households as well as the ceremonial and political center of Chinese government for almost 500 years.
Document 6: 2008 Summer Olympics: Seven years after the 2008 Games, Beijing was awarded the 2022 Winter Olympics. It will thus be the first city to host both the Summer and Winter Games.
Document 7: History of Beijing: The city of Beijing has a long and rich history that dates back over 3,000 years. Prior to the unification of China by the First Emperor in 221 BC, Beijing had been for centuries the capital of the ancient states of Ji and Yan. During the first millennia of imperial rule, Beijing was a provincial city in northern China. Its stature grew in the 10th to the 13th centuries when the nomadic Khitan and forest - dwelling Jurchen peoples from beyond the Great Wall expanded southward and made the city a capital of their dynasties, the Liao and Jin. When Kublai Khan made Dadu the capital of the Mongol - led Yuan dynasty (1279 -- 1368), all of China was ruled from Beijing for the first time. From 1279 onward, with the exception of two interludes from 1368 to 1420 and 1928 to 1949, Beijing would remain as China's capital, serving as the seat of power for the Ming dynasty (1421 -- 1644), the Manchu - led Qing dynasty (1644 -- 1912), the early Republic of China (1912 -- 1928) and now the People's Republic of China (1949 -- present).
Document 8: Qing dynasty: First, the Manchus had entered "China proper" because Dorgon responded decisively to Wu Sangui's appeal. Then, after capturing Beijing, instead of sacking the city as the rebels had done, Dorgon insisted, over the protests of other Manchu princes, on making it the dynastic capital and reappointing most Ming officials. Choosing Beijing as the capital had not been a straightforward decision, since no major Chinese dynasty had directly taken over its immediate predecessor's capital. Keeping the Ming capital and bureaucracy intact helped quickly stabilize the regime and sped up the conquest of the rest of the country. However, not all of Dorgon's policies were equally popular nor easily implemented.
Document 9: List of Olympic Games host cities: In 2022, Beijing will become the only city that has held both the summer and the winter Olympic Games. Nine cities will have hosted the Olympic Games more than once: Athens (1896 and 2004 Summer Olympics), Paris (1900, 1924 and 2024 Summer Olympics), London (1908, 1948 and 2012 Summer Olympics), St. Moritz (1928 and 1948 Winter Olympics), Lake Placid (1932 and 1980 Winter Olympics), Los Angeles (1932, 1984 and 2028 Summer Olympics), Innsbruck (1964 and 1976 Winter Olympics), Tokyo (1964 and 2020 Summer Olympics) and Beijing (2008 Summer Olympics and 2022 Winter Olympics). In addition, Stockholm hosted the 1912 Summer Olympics and the equestrian portion of the 1956 Summer Olympics. London became the first city to have hosted three Games with the 2012 Summer Olympics. Paris will become the second city to do this with the 2024 Summer Olympics, followed by Los Angeles as the third in 2028. The United States has hosted a total of eight Olympic Games, more than any other country, followed by France with five editions. Canada, Germany, Italy, Japan, and the United Kingdom have each hosted three Games.
Document 10: China at the Olympics: The People's Republic of China has hosted the Games on one occasion, with a second Games scheduled for 2022. Beijing will be the first city to host both Summer and Winter Olympics.
Document 11: Former Qin: The Former Qin (351-394) was a state of the Sixteen Kingdoms in eastern Asia, mainly China. Founded by an officer in Shi Le's dynasty, it completed the unification of North China in 376. Its capital was Xi'an up to the death of the ruler Fu Jiān in 385. Despite its name, the Former Qin was much later and less powerful than the Qin Dynasty which had ruled all of China during the 3rd century BC. The adjective "former" is used to distinguish it from the "Later Qin" state (384-417).
Document 12: 2022 Winter Olympics: The 2022 Winter Olympics, officially known as the XXIV Olympic Winter Games (French: Les XXIV Jeux olympiques d'hiver; Chinese: 第二十四届冬季奥林匹克运动会; pinyin: Dì Èrshísì Jiè Dōngjì Àolínpǐkè Yùndònghuì), and commonly known as Beijing 2022, is an international winter multi-sport event that will take place in Beijing and towns in the neighboring Hebei province, People's Republic of China, from 4 to 20 February 2022.
Document 13: Nanjing: It is believed that Nanjing was the largest city in the world from 1358 to 1425 with a population of 487,000 in 1400. Nanjing remained the capital of the Ming Empire until 1421, when the third emperor of the Ming dynasty, the Yongle Emperor, relocated the capital to Beijing.
Document 14: 2022 Winter Olympics: The 2022 Winter Olympics, officially known as the XXIV Olympic Winter Games (French: Les XXIVeme Jeux olympiques d'hiver) (Chinese: 第二十四届冬季奥林匹克运动会; pinyin: Dì Èrshísì Jiè Dōngjì Àolínpǐkè Yùndònghuì), and commonly known as Beijing 2022, is a multi-sport event that will take place in Beijing and towns in the neighboring Hebei province, China from 4 to 20 February 2022. It will be the third consecutive Olympic Games held in East Asia, after Pyeongchang 2018 and Tokyo 2020. Having previously hosted the 2008 Summer Olympics, Beijing will become the first city to ever host both the Summer and the Winter Olympic Games. It will also become the largest city ever to host the Winter Olympics, a distinction currently held by Vancouver which hosted the 2010 Winter Olympics.
Document 15: 2022 Winter Olympics: The 2022 Winter Olympics, officially known as the XXIV Olympic Winter Games (French: Les XXIV Jeux olympiques d'hiver; Chinese: 第二十四届冬季奥林匹克运动会; pinyin: Dì Èrshísì Jiè Dōngjì Àolínpǐkè Yùndònghuì), and commonly known as Beijing 2022, is an international winter multi-sport event that is scheduled to take place from 4 to 20 February 2022, in Beijing and towns in the neighboring Hebei province, People's Republic of China.
ground_truth: 1279
sub_queries: where will the 2020 winter olympics be held Answer: Beijing
when was Beijing made the capital of china Answer: 1279