 The Marianas were politically divided in 1898, when the United States acquired title to Guam under the Treaty of Paris, 1898, which ended the Spanish–American War.Spain then sold the remaining northerly islands to Germany in 1899.Germany lost all of her colonies at the end of World War I and the Northern Mariana Islands became a League of Nations Mandate, with Japan as the mandatory.