New Zealand occupied the German colony through 1920, then governed the western islands until independence in 1962, first as League of Nations Class C Mandate and after 1946 as a United Nations Trust Territory.