Question: When was the city where the winter Olympics will be held made the capital of China?

full_context: Document 1: 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 2: 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 3: 2020 Summer Olympics: The games are planned to be held from 24 July to 9 August 2020 in Tokyo. The city was announced as the host at the 125th IOC Session in Buenos Aires on 7 September 2013. It will also become the largest city ever in Asia to host the Summer Olympics, a distinction currently held by Seoul, which hosted the 1988 Summer Olympics. It will be the second time that Tokyo hosts the Olympics; it previously hosted the 1964 games.
Document 4: 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 5: List of Olympic Games host cities: This is a list of host cities of the Olympic Games, both summer and winter, since the modern Olympics began in 1896. Since then, summer games have usually -- but not always -- celebrated a four - year period known as an Olympiad. There have been 28 Summer Olympic Games held in 23 cities, and 23 Winter Olympic Games held in 20 cities. In addition, three summer and two winter editions of the Games were scheduled to take place but later cancelled due to war: Berlin (summer) in 1916; Tokyo / Helsinki (summer) and Sapporo / Garmisch - Partenkirchen (winter) in 1940; and London (summer) and Cortina d'Ampezzo, Italy (winter) in 1944. The 1906 Summer Olympics were officially sanctioned and held in Athens. However, in 1949, the International Olympic Committee (IOC), decided to unrecognize the 1906 Games. Four cities have been chosen by the IOC to host upcoming Olympic Games: Tokyo for the 2020 Summer Olympics, Beijing for the 2022 Winter Olympics, Paris for the 2024 Summer Olympics, and Los Angeles for the 2028 Summer Olympics.
Document 6: List of Olympic Games host cities: Below is a list of host cities of the Olympic Games, both summer and winter, since the modern Olympics began in 1896. Since then, summer games have usually -- but not always -- celebrated a four - year period known as an Olympiad. There have been 28 Summer Olympic Games held in 23 cities, and 23 Winter Olympic Games held in 20 cities. In addition, three summer and two winter editions of the Games were scheduled to take place but later cancelled due to war: Berlin (summer) in 1916; Tokyo / Helsinki (summer) and Sapporo / Garmisch - Partenkirchen (winter) in 1940; and London (summer) and Cortina d'Ampezzo, Italy (winter) in 1944. The 1906 Summer Olympics were officially sanctioned and held in Athens. However, in 1949, the International Olympic Committee (IOC), decided to unrecognize the 1906 Games. Four cities have been chosen by the IOC to host upcoming Olympic Games: Tokyo for the 2020 Summer Olympics, Beijing for the 2022 Winter Olympics, Paris for the 2024 Summer Olympics, and Los Angeles for the 2028 Summer Olympics.
Document 7: 2020 Summer Olympics: Tokyo was selected as the host city during the 125th IOC Session in Buenos Aires on 7 September 2013. These Games will mark the return of the Summer Olympics to Tokyo for the first time since 1964, and the fourth Olympics overall to be held in Japan, following the 1972 Winter Olympics in Sapporo and the 1998 Winter Olympics in Nagano. They will be the second of three consecutive Olympic Games to be held in East Asia, following the 2018 Winter Olympics in Pyeongchang, South Korea, and preceding the 2022 Winter Olympics in Beijing, China.
Document 8: 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 9: 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 10: 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 11: 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 12: 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 13: List of Olympic Games host cities: This is a list of host cities of the Olympic Games, both summer and winter, since the modern Olympics began in 1896. Since then, summer games have usually -- but not always -- celebrated a four - year period known as an Olympiad. There have been 28 Summer Olympic Games held in 24 cities, and 23 Winter Olympic Games held in 20 cities. In addition, three summer and two winter editions of the Games were scheduled to take place but later cancelled due to war: Berlin (summer) in 1916; Tokyo / Helsinki (summer) and Sapporo / Garmisch - Partenkirchen (winter) in 1940; and London (summer) and Cortina d'Ampezzo, Italy (winter) in 1944. The 1906 Summer Olympics were officially sanctioned and held in Athens. However, in 1949, the International Olympic Committee (IOC), decided to unrecognize the 1906 Games. Four cities have been chosen by the IOC to host upcoming Olympic Games: Tokyo for the 2020 Summer Olympics, Beijing for the 2022 Winter Olympics, Paris for the 2024 Summer Olympics, and Los Angeles for the 2028 Summer Olympics.
Document 14: List of Olympic Games host cities: List of cities that hosted multiple editions of the Olympic Games City Country Continent Summer Olympics Winter Olympics Total London United Kingdom Europe 3 (1908, 1948, 2012) 0 Paris France Europe 3 (1900, 1924, 2024) 0 Los Angeles United States North America 3 (1932, 1984, 2028) 0 Athens Greece Europe 2 (1896, 2004) 0 Tokyo Japan Asia 2 (1964, 2020) 0 Beijing China Asia 1 (2008) 1 (2022) St. Moritz Switzerland Europe 0 2 (1928, 1948) Innsbruck Austria Europe 0 2 (1964, 1976) Lake Placid United States North America 0 2 (1932, 1980)
Document 15: List of Olympic Games host cities: List of cities that hosted multiple editions of the Olympic Games City Country Continent Summer Olympics Winter Olympics Summer Youth Olympics Winter Youth Olympics Total London United Kingdom Europe 3 (1908, 1948, 2012) 0 0 0 Paris France Europe 3 (1900, 1924, 2024) 0 0 0 Los Angeles United States North America 3 (1932, 1984, 2028) 0 0 0 Innsbruck Austria Europe 0 2 (1964, 1976) 0 1 (2012) Athens Greece Europe 2 (1896, 2004) 0 0 0 Tokyo Japan Asia 2 (1964, 2020) 0 0 0 Beijing China Asia 1 (2008) 1 (2022) 0 0 St. Moritz Switzerland Europe 0 2 (1928, 1948) 0 0 Lake Placid United States North America 0 2 (1932, 1980) 0 0 Lillehammer Norway Europe 0 1 (1994) 0 1 (2016)
ground_truth: 1279
sub_queries: where will the winter olympics be held in 4 years Answer: Beijing
when was Beijing made the capital of china Answer: 1279