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,
Immigration to China homeland. Several million may have done so since 1949. The largest influx came in 1978–79, when about 160,000 to 250,000 ethnic Chinese refugees fled Vietnam for southern China, as relations between the two countries worsened. Many of these refugees were settled in state farms on Hainan Island in the South China Sea. Another activity viewed as illegal is the influx of North Koreans into northeastern China. Some 1,850 North Koreans fled their country in 2004, but China views them as illegal economic migrants rather than refugees and sends many of them back. This is also due to pressure from North