The United Nations was established in 1945 with the goals of maintaining international peace and security, developing friendly relations among nations, achieving international cooperation, and being a center for harmonizing nations' actions. The six main organs of the UN are the General Assembly, Security Council, Economic and Social Council, Trusteeship Council, International Court of Justice, and Secretariat. The General Assembly consists of all UN members and discusses any issues within the UN's scope, while the Security Council has primary responsibility for international peace and security.