When the United Nations was formed in 1945, it established trust territories. These territories included the League of Nations mandate territories which had not achieved independence by 1945, along with the former Italian Somaliland. The Trust Territory of the Pacific Islands was transferred from Japanese to US administration. By 1990 all but one of the trust territories had achieved independence, either as independent states or by merger with another independent state; the Northern Mariana Islands elected to become a commonwealth of the United States.