paragraph_text: 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).

paragraph_text: 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.

paragraph_text: The 2008 Summer Olympic Games, officially known as the Games of the XXIX Olympiad (Chinese: 第二十九届夏季奥林匹克运动会; pinyin: Dì Èrshíjiǔ Jiè Xiàjì Àolínpǐkè Yùndònghuì) and commonly known as Beijing 2008, was an international multi-sport event that was held from 8 to 24 August 2008 in Beijing, China. A total of 10,942 athletes from 204 National Olympic Committees (NOCs) competed in 28 sports and 302 events (one event more than those scheduled for the 2004 Games). This was the first time that China had hosted the Summer Olympics, but the third time that the Games had been held in East Asia, following the 1964 Olympics in Tokyo, Japan, and the 1988 Olympics in Seoul, South Korea.

paragraph_text: The Winter Olympics has been hosted on three continents by eleven different countries. The Games have been held in the United States four times (1932, 1960, 1980, 2002); in France three times (1924, 1968, 1992); and in Austria (1964, 1976), Canada (1988, 2010), Japan (1972, 1998), Italy (1956, 2006), Norway (1952, 1994), and Switzerland (1928, 1948) twice. Also, the Games have been held in Germany (1936), Yugoslavia (1984), and Russia (2014) once. The IOC has selected Pyeongchang, South Korea, to host the 2018 Winter Olympics and Beijing, China, to host the 2022 Winter Olympics. As of 2017 no city in the southern hemisphere had applied to host the cold - weather - dependent Winter Olympics, which are held in February at the height of the southern hemisphere summer.

paragraph_text: 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.

paragraph_text: Russia competed at the 2008 Summer Olympics, held in Beijing, People's Republic of China, represented by the Russian Olympic Committee. Russia competed in all sports except baseball, football, field hockey, softball and taekwondo.

paragraph_text: The Winter Olympics has been hosted on three continents by twelve different countries. The Games have been held four times in the United States (in 1932, 1960, 1980 and 2002); three times in France (in 1924, 1968 and 1992); and twice each in Austria (1964, 1976), Canada (1988, 2010), Japan (1972, 1998), Italy (1956, 2006), Norway (1952, 1994), and Switzerland (1928, 1948). Also, the Games have been held just once each in Germany (1936), Yugoslavia (1984), Russia (2014) and South Korea (2018). The IOC has selected Beijing, China, to host the 2022 Winter Olympics and the host of the 2026 Winter Olympics will be selected in September 2019. As of 2018, no city in the southern hemisphere has applied to host the cold - weather - dependent Winter Olympics, which are held in February at the height of the southern hemisphere summer.

paragraph_text: The 2018 Winter Olympics, officially known as the XXIII Olympic Winter Games (Korean: 제 23 회동계올림픽, translit. Jeisipsamhoe Donggye Ollimpik) and commonly known as PyeongChang 2018, was a major multi-sport event held between 9 and 25 February 2018 in Pyeongchang County, Gangwon Province, South Korea, with the opening rounds for certain events held on 8 February 2018, the eve of the opening ceremony. Pyeongchang was elected as the host city in July 2011, during the 123rd IOC Session in Durban, South Africa. This marks the first time South Korea has hosted the Winter Olympics, and the second time the Olympic games have been held in the country, after the 1988 Summer Olympics in Seoul. It also marks the third time East Asia has hosted the Winter Games, after Sapporo, Japan (1972), and Nagano, Japan (1998), and the sixth overall Olympic Games held in East Asia. It was the first of three consecutive Olympic Games to be held in East Asia, preceding Tokyo 2020 (Summer) and Beijing 2022 (Winter).

paragraph_text: The 2018 Winter Olympics, officially known as the XXIII Olympic Winter Games (Korean: 제 23 회동계올림픽, translit. Jeisipsamhoe Donggye Ollimpik), officially stylized and commonly known as PyeongChang 2018, is an international multi-sport event currently being held from 9 to 25 February 2018 in Pyeongchang County, South Korea, with the opening rounds for certain events held on the eve of the opening ceremony -- 8 February 2018. Pyeongchang was elected as the host in July 2011, during the 123rd IOC Session in Durban, South Africa. It marks the first time South Korea has hosted the Winter Olympics, and the second Olympics in the country overall after the 1988 Summer Olympics in the nation's capital, Seoul. It also marks the third time East Asia has hosted the Winter Games, after Sapporo, Japan (1972), and Nagano, Japan (1998), and the sixth overall Olympic Games held in East Asia. It is the first of three consecutive Olympic Games scheduled to be held in East Asia, preceding Tokyo 2020 (Summer) and Beijing 2022 (Winter).

paragraph_text: 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.

paragraph_text: 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.

paragraph_text: Uganda competed in the 2008 Summer Olympics held in Beijing, People's Republic of China from August 8 to August 24, 2008. Uganda sent a delegation of eleven competitors, who took part in four sports.

paragraph_text: 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.

paragraph_text: Petrópolis is a neighbourhood in the city of Porto Alegre, the state capital of Rio Grande do Sul, in Brazil. It was created by Law 2022 from December 7, 1959.

paragraph_text: Senegal competed in the 2008 Summer Olympics held in Beijing, People's Republic of China from August 8 to August 24, 2008.

paragraph_text: Games Host city Dates Nations Participants Events 2008 Summer Olympics Beijing 8 -- 24 August 204 10,942 302 2022 Winter Olympics Beijing 4 -- 20 February

paragraph_text: The Games have primarily been hosted in the continents of Europe (32 editions) and North America (12 editions); seven Games have been hosted in Asia and two have been hosted in Oceania. In 2010, Singapore became Southeast Asia's first Olympic host city for the inaugural Summer Youth Olympics, while Rio de Janeiro became South America's first Olympic host city with the 2016 Summer Olympics, followed by Buenos Aires with the 2018 Summer Youth Olympics. The 2022 Summer Youth Olympics in Dakar will become the first - ever Games to be held on the African continent. Other major geographic regions which have never hosted the Olympics include the Middle East, the Indian subcontinent, Central America and the Caribbean.

paragraph_text: The 2020 Summer Olympics, officially known as the Games of the XXXII Olympiad (Japanese: 第三十二回オリンピック競技大会, Hepburn: Dai Sanjūni - kai Orinpikku Kyōgi Taikai) and commonly known as Tokyo 2020, is a forthcoming international multi-sport event that is scheduled to take place from 24 July to 9 August 2020. Tokyo was selected as the host city during the 125th IOC Session in Buenos Aires on 7 September 2013. This will be the second time the Summer Games have been held in Tokyo, the first time being the 1964 Summer Olympics, and the fourth time that Japan has hosted the Olympics overall, following the Winter Olympics held in Sapporo in 1972 and Nagano in 1998. 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.

paragraph_text: 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.

paragraph_text: 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.

Question: When was the 2022 host city of the Olympics made the capitol of china?
Answer: 1279