Japan, allied with the Entente Powers during World War I, seized all of Germany's colonial possessions in East Asia and Micronesia, including the Northern Mariana Islands, and held them through the end of the War. Under the terms of the Treaty of Versailles in 1919, Germany was stripped of all her colonies worldwide, including the Palau, Caroline, Northern Mariana and Marshall Islands. By international agreement, these were all placed into trusteeship under the management of League of Nations which assigned them to Japan as the Class C South Seas Mandate. During this time, Japan used some of the islands for sugarcane production, modestly increasing the population of a few of the islands.