Question: When did the city the new Karate Kid takes place fall?

full_context: Document 1: Qing dynasty: To extend and consolidate the dynasty's control in Central Asia, the Kangxi Emperor personally led a series of military campaigns against the Dzungars in Outer Mongolia. The Kangxi Emperor was able to successfully expel Galdan's invading forces from these regions, which were then incorporated into the empire. Galdan was eventually killed in the Dzungar–Qing War. In 1683, Qing forces received the surrender of Taiwan from Zheng Keshuang, grandson of Koxinga, who had conquered Taiwan from the Dutch colonists as a base against the Qing. Zheng Keshuang was awarded the title "Duke Haicheng" (海澄公) and was inducted into the Han Chinese Plain Red Banner of the Eight Banners when he moved to Beijing. Several Ming princes had accompanied Koxinga to Taiwan in 1661-1662, including the Prince of Ningjing Zhu Shugui and Prince Zhu Honghuan (朱弘桓), son of Zhu Yihai, where they lived in the Kingdom of Tungning. The Qing sent the 17 Ming princes still living on Taiwan in 1683 back to mainland China where they spent the rest of their lives in exile since their lives were spared from execution. Winning Taiwan freed Kangxi's forces for series of battles over Albazin, the far eastern outpost of the Tsardom of Russia. Zheng's former soldiers on Taiwan like the rattan shield troops were also inducted into the Eight Banners and used by the Qing against Russian Cossacks at Albazin. The 1689 Treaty of Nerchinsk was China's first formal treaty with a European power and kept the border peaceful for the better part of two centuries. After Galdan's death, his followers, as adherents to Tibetan Buddhism, attempted to control the choice of the next Dalai Lama. Kangxi dispatched two armies to Lhasa, the capital of Tibet, and installed a Dalai Lama sympathetic to the Qing.
Document 2: The Karate Kid: The Karate Kid is a 1984 American martial arts drama film produced by Jerry Weintraub, directed by John G. Avildsen, written by Robert Mark Kamen, and stars Ralph Macchio, Pat Morita and Elisabeth Shue. It is an underdog story in the mold of a previous success with Rocky (1976), which Avildsen also directed. The film features the Gōjū - ryū, Gōjū Kai style of karate. The Karate Kid was a commercial success upon release and garnered critical acclaim, earning Morita a nomination for the Academy Award for Best Supporting Actor.
Document 3: Qing dynasty: The early Manchu rulers also established two foundations of legitimacy which help to explain the stability of their dynasty. The first was the bureaucratic institutions and the neo-Confucian culture which they adopted from earlier dynasties. Manchu rulers and Han Chinese scholar-official elites gradually came to terms with each other. The examination system offered a path for ethnic Han to become officials. Imperial patronage of Kangxi Dictionary demonstrated respect for Confucian learning, while the Sacred Edict of 1670 effectively extolled Confucian family values. The second major source of stability was the Central Asian aspect of their Manchu identity which allowed them to appeal to Mongol, Tibetan and Uighur constituents. The Qing used the title of Emperor (Huangdi) in Chinese while among Mongols the Qing monarch was referred to as Bogda khan (wise Khan), and referred to as Gong Ma in Tibet. Qianlong propagated the image of himself as Buddhist sage rulers, patrons of Tibetan Buddhism. In the Manchu language, the Qing monarch was alternately referred to as either Huwangdi (Emperor) or Khan with no special distinction between the two usages. The Kangxi Emperor also welcomed to his court Jesuit missionaries, who had first come to China under the Ming. Missionaries including Tomás Pereira, Martino Martini, Johann Adam Schall von Bell, Ferdinand Verbiest and Antoine Thomas held significant positions as military weapons experts, mathematicians, cartographers, astronomers and advisers to the emperor. The relationship of trust was however lost in the later Chinese Rites controversy.
Document 4: The Karate Kid (2010 film): Principal photography took place in Beijing, China, and filming began in July 2009 and ended on October 16, 2009. The Karate Kid was released theatrically worldwide on June 11, 2010 by Sony Pictures. The Karate Kid received mixed reviews and it earned $359.1 million on a $40 million budget. The plot concerns 12 - year - old Dre (Smith) from Detroit, Michigan who moves to Beijing, China with his mother (Taraji P. Henson) and runs afoul of the neighborhood bully (Zhenwei Wang). He makes an unlikely ally in the form of an aging maintenance man, Mr. Han (Chan), a kung fu master who teaches him the secrets of self - defense.
Document 5: Qing dynasty: The newly allied armies captured Beijing on June 6. The Shunzhi Emperor was invested as the "Son of Heaven" on October 30. The Manchus, who had positioned themselves as political heir to the Ming emperor by defeating the rebel Li Zicheng, completed the symbolic transition by holding a formal funeral for the Chongzhen Emperor. However the process of conquering the rest of China took another seventeen years of battling Ming loyalists, pretenders and rebels. The last Ming pretender, Prince Gui, sought refuge with the King of Burma, but was turned over to a Qing expeditionary army commanded by Wu Sangui, who had him brought back to Yunnan province and executed in early 1662.
Document 6: Qing dynasty: Widespread drought in North China, combined with the imperialist designs of European powers and the instability of the Qing government, created conditions that led to the emergence of the Righteous and Harmonious Fists, or "Boxers." In 1900, local groups of Boxers proclaiming support for the Qing dynasty murdered foreign missionaries and large numbers of Chinese Christians, then converged on Beijing to besiege the Foreign Legation Quarter. A coalition of European, Japanese, and Russian armies (the Eight-Nation Alliance) then entered China without diplomatic notice, much less permission. Cixi declared war on all of these nations, only to lose control of Beijing after a short, but hard-fought campaign. She fled to Xi'an. The victorious allies drew up scores of demands on the Qing government, including compensation for their expenses in invading China and execution of complicit officials.
Document 7: Ip Man (film): Jin Shanzhao and his men inform the Japanese soldiers of Ip's connection to the cotton mill. The Japanese charge into the cotton mill and takes Ip. Ip tells Chow to take his wife and son away for protection. Miura tells Ip that his life will be spared if he agrees to instruct the Japanese soldiers in martial arts. Ip refuses and challenges Miura to a match, which Miura accepts, both because of his love for martial arts and because refusing the challenge would be a humiliation to the Japanese. The match between Ip and Miura is held in public in Foshan's square. Sato tells Ip that his life will be spared if he lets the general win. At first, the two fighters seem equally matched, but Ip's impeccable defense, relentless and direct blows allow him to eventually overwhelm Miura, inflicting a severe beating on him.
Document 8: Qing dynasty: The dynasty was founded by the Jurchen Aisin Gioro clan in Manchuria. In the late sixteenth century, Nurhaci, originally a Ming vassal, began organizing Jurchen clans into "Banners", military-social units. Nurhaci formed these clans into a unified entity, the subjects of which became known collectively as the Manchu people. By 1636, his son Hong Taiji began driving Ming forces out of Liaodong and declared a new dynasty, the Qing. In 1644, peasant rebels led by Li Zicheng conquered the Ming capital Beijing. Rather than serve them, Ming general Wu Sangui made an alliance with the Manchus and opened the Shanhai Pass to the Banner Armies led by Prince Dorgon, who defeated the rebels and seized Beijing. The conquest of China proper was not completed until 1683 under the Kangxi Emperor (r. 1661–1722). The Ten Great Campaigns of the Qianlong Emperor from the 1750s to the 1790s extended Qing control into Central Asia. While the early rulers maintained their Manchu ways, and while their official title was Emperor they were known as khans to the Mongols and patronized Tibetan Buddhism, they governed using Confucian styles and institutions of bureaucratic government. They retained the imperial examinations to recruit Han Chinese to work under or in parallel with Manchus. They also adapted the ideals of the tributary system in international relations, and in places such as Taiwan, the Qing so-called internal foreign policy closely resembled colonial policy and control.
Document 9: The Karate Kid (2010 film): Dre Parker and his mother Sherry Parker move from Detroit to Beijing after Sherry gets a job transfer at her car factory. After a day in a park, Dre develops a crush on a young violinist, Meiying, who reciprocates his attention, but another boy Cheng, a rebellious kung fu prodigy whose family is close to Meiying's, attempts to keep them apart by violently attacking Dre, and later bullies him at school. During an attack, the maintenance man, Mr. Han comes to Dre's aid, and when Cheng and his friends try to interfere, Han defeats each of them in close combat, revealing himself as a kung fu master.
Document 10: Qing dynasty: Ming government officials fought against each other, against fiscal collapse, and against a series of peasant rebellions. They were unable to capitalise on the Manchu succession dispute and installation of a minor as emperor. In April 1644, the capital at Beijing was sacked by a coalition of rebel forces led by Li Zicheng, a former minor Ming official, who established a short-lived Shun dynasty. The last Ming ruler, the Chongzhen Emperor, committed suicide when the city fell, marking the official end of the dynasty.
Document 11: The Karate Kid: The Karate Kid is a 1984 American martial arts drama film written by Robert Mark Kamen and directed by John G. Avildsen. It is the first installment in "The Karate Kid" franchise, and stars Ralph Macchio, Noriyuki "Pat" Morita, and Elisabeth Shue. "The Karate Kid" follows Daniel LaRusso (Macchio), a teenager taught Gōjū-ryū karate by Mr. Miyagi (Morita) to help defend himself and compete in a tournament against his bullies, one of which is the ex-boyfriend of his love interest Ali Mills (Shue).
Document 12: Kanye West: At the age of 10, West moved with his mother to Nanjing, China, where she was teaching at Nanjing University as part of an exchange program. According to his mother, West was the only foreigner in his class, but settled in well and quickly picked up the language, although he has since forgotten most of it. When asked about his grades in high school, West replied, "I got A's and B's. And I'm not even frontin'."
Document 13: 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 14: To Wong Foo, Thanks for Everything! Julie Newmar: While on the road they are pulled over by the racist, homophobic, and sexist Sheriff Dollard (Chris Penn), who tries to rape Vida. He discovers Vida is not a woman and, in the commotion, he falls backwards and is knocked unconscious. They think he is dead, hurry off, and leave him behind. As they recover from the incident at a rest stop, their car breaks down. A young man, Bobby Ray (Jason London) from the nearby small town of Snydersville, happens to pass by and gives them a ride, where they take refuge in a bed and breakfast inn owned by Carol Ann (Stockard Channing) and her abusive car repairman husband, Virgil (Arliss Howard).
Document 15: Qing dynasty: In 1725 Yongzheng bestowed the hereditary title of Marquis on a descendant of the Ming dynasty Imperial family, Zhu Zhiliang, who received a salary from the Qing government and whose duty was to perform rituals at the Ming tombs, and was also inducted the Chinese Plain White Banner in the Eight Banners. Later the Qianlong Emperor bestowed the title Marquis of Extended Grace posthumously on Zhu Zhuliang in 1750, and the title passed on through twelve generations of Ming descendants until the end of the Qing dynasty.
ground_truth: June 6
sub_queries: where does the new karate kid take place Answer: Beijing
When did Beijing fall? Answer: June 6