During the Second World War, the Allied powers—known formally as the United Nations—agreed to establish a new postwar international organization. Pursuant to this goal, the UN Charter was discussed, prepared, and drafted during the San Francisco Conference that began 25 April 1945, which involved most of the world's sovereign nations. Following two-thirds approval of each part, the final text was unanimously adopted by delegates and opened for signature on 26 June 1945; it was signed in San Francisco, United States, by 50 of the 51 original member countries.