Hundred Days' Reform in the First Sino-Japanese War in 1894–1895, not long after the First (1839–1842) and Second (1856–1860) Opium Wars; this blow came as a major shock to the Chinese, because Japan had been regarded as a tributary state, was much smaller than China, and was regarded as inferior. China also fought France in the Sino-French War from 1884 to 1885. Moreover, the defeat of China by Japan led to a scramble for "privileges" in China by other foreign powers, notably by the German Empire and Russia, further awakening the conservatives. Before the First Sino-Japanese War, China engaged in technological modernization only,
Western imperialism in Asia China vulnerable to Western, Meiji period Japanese, and Russian imperialism. In 1839, China found itself fighting the First Opium War with Britain. China was defeated, and in 1842, signed the provisions of the Treaty of Nanjing which were first of the unequal treaties signed during the Qing Dynasty. Hong Kong Island was ceded to Britain, and certain ports, including Shanghai and Guangzhou, were opened to British trade and residence. In 1856, the Second Opium War broke out. The Chinese were again defeated, and now forced to the terms of the 1858 Treaty of Tientsin. The treaty opened new ports to