Passage: Outside Japan, different societies use widely different timeframes in defining Japanese war crimes. For example, the annexation of Korea by Japan in 1910 was enforced by the Japanese military, and the Society of Yi Dynasty Korea was switched to the political system of the Empire of Japan. Thus, North and South Korea refer to "Japanese war crimes" as events occurring during the period of Korea under Japanese rule.By comparison, the Western Allies did not come into military conflict with Japan until 1941, and North Americans, Australians, South East Asians and Europeans may consider "Japanese war crimes" to be events that occurred in 1942–1945.Japanese war crimes were not always carried out by ethnic Japanese personnel. A small minority of people in every Asian and Pacific country invaded or occupied by Japan collaborated with the Japanese military, or even served in it, for a wide variety of reasons, such as economic hardship, coercion, or antipathy to other imperialist powers.Japan's sovereignty over Korea and Formosa (Taiwan), in the first half of the 20th century, was recognized by international agreements—the Treaty of Shimonoseki (1895) and the Japan–Korea Annexation Treaty (1910)—and they were considered at the time to be integral parts of the Japanese Empire. Under the international law of today, there is a possibility the Japan-Korea Annexation Treaty was illegal, as the native populations were not consulted, there was armed resistance to Japan's annexations, and war crimes may also have been committed during the civil wars.

Question: When was Korea annexed from Japan?
1910