Question: How did the Japanese win the country containing Cimei?

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: Qing dynasty: Qing China reached its largest extent during the 18th century, when it ruled China proper (eighteen provinces) as well as the areas of present-day Northeast China, Inner Mongolia, Outer Mongolia, Xinjiang and Tibet, at approximately 13 million km2 in size. There were originally 18 provinces, all of which in China proper, but later this number was increased to 22, with Manchuria and Xinjiang being divided or turned into provinces. Taiwan, originally part of Fujian province, became a province of its own in the late 19th century, but was ceded to the Empire of Japan in 1895 following the First Sino-Japanese War. In addition, many surrounding countries, such as Korea (Joseon dynasty), Vietnam frequently paid tribute to China during much of this period. Khanate of Kokand were forced to submit as protectorate and pay tribute to the Qing dynasty in China between 1774 and 1798.
Document 3: Qing dynasty: In addition to the six boards, there was a Lifan Yuan unique to the Qing government. This institution was established to supervise the administration of Tibet and the Mongol lands. As the empire expanded, it took over administrative responsibility of all minority ethnic groups living in and around the empire, including early contacts with Russia — then seen as a tribute nation. The office had the status of a full ministry and was headed by officials of equal rank. However, appointees were at first restricted only to candidates of Manchu and Mongol ethnicity, until later open to Han Chinese as well.
Document 4: Qing dynasty: The reign of the Qianlong Emperor (1735–1796) saw the apogee and initial decline in prosperity and imperial control. The population rose to some 400 million, but taxes and government revenues were fixed at a low rate, virtually guaranteeing eventual fiscal crisis. Corruption set in, rebels tested government legitimacy, and ruling elites did not change their mindsets in the face of changes in the world system. Following the Opium War, European powers imposed unequal treaties, free trade, extraterritoriality and treaty ports under foreign control. The Taiping Rebellion (1850–64) and Dungan Revolt (1862–77) in Central Asia led to the deaths of some 20 million people. In spite of these disasters, in the Tongzhi Restoration of the 1860s, Han Chinese elites rallied to the defense of the Confucian order and the Qing rulers. The initial gains in the Self-Strengthening Movement were destroyed in the First Sino-Japanese War of 1895, in which the Qing lost its influence over Korea and the possession of Taiwan. New Armies were organized, but the ambitious Hundred Days' Reform of 1898 was turned back by Empress Dowager Cixi, a ruthless but capable leader. When, in response to the violently anti-foreign Yihetuan ("Boxers"), foreign powers invaded China, the Empress Dowager declared war on them, leading to defeat and the flight of the Imperial Court to Xi'an.
Document 5: Saint Helena: There are several rocks and islets off the coast, including: Castle Rock, Speery Island, the Needle, Lower Black Rock, Upper Black Rock (South), Bird Island (Southwest), Black Rock, Thompson's Valley Island, Peaked Island, Egg Island, Lady's Chair, Lighter Rock (West), Long Ledge (Northwest), Shore Island, George Island, Rough Rock Island, Flat Rock (East), the Buoys, Sandy Bay Island, the Chimney, White Bird Island and Frightus Rock (Southeast), all of which are within one kilometre (0.62 miles) of the shore.
Document 6: Twin Islets: The Twin Islets form a close pair of small, steep-sided, granite islands, with a combined area of 5.61 ha, in south-eastern Australia. They are part of Tasmania’s Hogan Group, lying in northern Bass Strait between the Furneaux Group and Wilsons Promontory in Victoria.
Document 7: 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 8: Goat Rock Beach: The sea stacks along the coast at Goat Rock Beach consist of rocks from the Franciscan Complex, formed within an era of plate collision along the western coast of North America. From about 200 to 30 million years ago, the North American Plate was in continual collision with the Farallon Plate. A variety of rock types resulted from this collision, including pillow basalt, chert, and marine sandstone. During the plate collisions, these rocks were considerably faulted and crushed into melange, which is a mixture of ground-up matrix and resistant pockets of rock floating within. When melange is eroded by wave action, the softer part of the matrix is washed away, leaving the more resistant blocks exposed in the ocean as sea stacks. Goat Rock is such a flat topped sea stack comprised by a block of resistant greywacke.
Document 9: Qing dynasty: During the Qianlong reign (1735 -- 96) the dynasty reached its apogee but then began its initial decline in prosperity and imperial control. The population rose to some 400 million, but taxes and government revenues were fixed at a low rate, virtually guaranteeing eventual fiscal crisis. Corruption set in, rebels tested government legitimacy, and ruling elites failed to change their mindsets in the face of changes in the world system. Following the Opium War, European powers imposed unequal treaties, free trade, extraterritoriality and treaty ports under foreign control. The Taiping Rebellion (1850 -- 64) and the Dungan Revolt (1862 -- 77) in Central Asia led to the deaths of some 20 million people, most of them due to famines caused by war. In spite of these disasters, in the Tongzhi Restoration of the 1860s, Han Chinese elites rallied to the defense of the Confucian order and the Qing rulers. The initial gains in the Self - Strengthening Movement were destroyed in the First Sino - Japanese War of 1895, in which the Qing lost its influence over Korea and the possession of Taiwan. New Armies were organized, but the ambitious Hundred Days' Reform of 1898 was turned back in a coup by Empress Dowager Cixi, a conservative leader. When the Scramble for Concessions by foreign powers triggered the violently anti-foreign Yihetuan (``Boxers ''), the foreign powers invaded China, Cixi declared war on them, leading to defeat and the flight of the Imperial Court to Xi'an.
Document 10: Taipei: Two peaks, Qixing Mountain and Mt. Datun, rise to the northeast of the city. Qixing Mountain is located on the Tatun Volcano Group and the tallest mountain at the rim of the Taipei Basin, with its main peak at 1,120 metres (3,670 ft). Mt. Datun's main peak is 1,092 metres (3,583 ft). These former volcanoes make up the western section of Yangmingshan National Park, extending from Mt. Datun northward to Mt. Caigongkeng (菜公坑山). Located on a broad saddle between two mountains, the area also contains the marshy Datun Pond.
Document 11: Qing dynasty: After conquering "China proper", the Manchus identified their state as "China" (中國, Zhōngguó; "Middle Kingdom"), and referred to it as Dulimbai Gurun in Manchu (Dulimbai means "central" or "middle," gurun means "nation" or "state"). The emperors equated the lands of the Qing state (including present day Northeast China, Xinjiang, Mongolia, Tibet and other areas) as "China" in both the Chinese and Manchu languages, defining China as a multi-ethnic state, and rejecting the idea that "China" only meant Han areas. The Qing emperors proclaimed that both Han and non-Han peoples were part of "China." They used both "China" and "Qing" to refer to their state in official documents, international treaties (as the Qing was known internationally as "China" or the "Chinese Empire") and foreign affairs, and "Chinese language" (Dulimbai gurun i bithe) included Chinese, Manchu, and Mongol languages, and "Chinese people" (中國之人 Zhōngguó zhī rén; Manchu: Dulimbai gurun i niyalma) referred to all subjects of the empire. In the Chinese-language versions of its treaties and its maps of the world, the Qing government used "Qing" and "China" interchangeably.
Document 12: Qing dynasty: With respect to these outer regions, the Qing maintained imperial control, with the emperor acting as Mongol khan, patron of Tibetan Buddhism and protector of Muslims. However, Qing policy changed with the establishment of Xinjiang province in 1884. During The Great Game era, taking advantage of the Dungan revolt in northwest China, Yaqub Beg invaded Xinjiang from Central Asia with support from the British Empire, and made himself the ruler of the kingdom of Kashgaria. The Qing court sent forces to defeat Yaqub Beg and Xinjiang was reconquered, and then the political system of China proper was formally applied onto Xinjiang. The Kumul Khanate, which was incorporated into the Qing empire as a vassal after helping Qing defeat the Zunghars in 1757, maintained its status after Xinjiang turned into a province through the end of the dynasty in the Xinhai Revolution up until 1930. In early 20th century, Britain sent an expedition force to Tibet and forced Tibetans to sign a treaty. The Qing court responded by asserting Chinese sovereignty over Tibet, resulting in the 1906 Anglo-Chinese Convention signed between Britain and China. The British agreed not to annex Tibetan territory or to interfere in the administration of Tibet, while China engaged not to permit any other foreign state to interfere with the territory or internal administration of Tibet. Furthermore, similar to Xinjiang which was converted into a province earlier, the Qing government also turned Manchuria into three provinces in the early 20th century, officially known as the "Three Northeast Provinces", and established the post of Viceroy of the Three Northeast Provinces to oversee these provinces, making the total number of regional viceroys to nine.
Document 13: Double-Heart of Stacked Stones: The Double-heart of Stacked Stones () or the Twin-Heart Fish Trap is a stone fishing weir located on the north side of Qimei Township, Penghu County, Taiwan. It is a well-preserved ancient fish trap made by stacking stones to form a trap that resembles a flying heart.
Document 14: West Hawk Lake: West Hawk Lake is located in the Whiteshell Provincial Park in southeastern Manitoba, Western Canada. The central portion of the lake is formed by the West Hawk crater, caused by a meteor impact into an ancient rock bed composed of mostly granite. Granite cliffs surround parts of the lake. This area is also known as part of the Canadian Shield that was formed billions of years ago. Parts of the Whiteshell park have elaborate petroforms that were made by First Nation peoples, possibly over a thousand years ago. There are petroform shapes of turtles, snakes, humans and geometrical patterns, often found upon pink granite ridges that were shaped during the last ice age.
Document 15: Destin, Florida: ``Crab Island, ''was actually two islands made from sand that the Army Corps of Engineers dredged up from the East Pass. These islands were large enough to inhabit sea grass, small shrubs and nesting seabirds. It has been reduced to a significant sandbar, which appears only when the tide is out. It has become a popular anchorage in the area. The entrance to Destin Harbor, a lagoon between the beaches and the main body of the western portion of the peninsula, is located just north of the East Pass jetty. The lagoon is formed by a sand spit named Holiday Isle; many condominiums have been built along the harbor since the 1970s.
ground_truth: First Sino-Japanese
sub_queries: Cimei >> country Answer: Taiwan
How did the Japanese win Taiwan ? Answer: First Sino-Japanese