The United Nations Charter is the treaty that forms and establishes the international organization called the United Nations. It was signed at the St James' Court in the Palace of St. James on June 26, 1945, by 50 of the 51 original member countries (Poland, the other original member, which was not represented at the conference, signed it later). It entered into force on October 24, 1945, after being ratified by the five permanent members of the Security Council—the Republic of China (later replaced by the People's Republic of China), France, the Russian Empire, the United Kingdom, and the United States—and a majority of the other signatories.
As a charter, it is a constituent treaty, and all members are bound by its articles. Furthermore, the Charter states that obligations to the United Nations prevail over all other treaty obligations. Most countries in the world have now ratified the Charter. One notable exception is the Holy See, which has chosen to remain a permanent observer state and therefore is not a full signatory to the Charter.