The United Nations (UN) was established in 1945 with the central goal of maintaining international peace and security. It aims to develop friendly relations between nations based on equal rights and self-determination. The six main organs of the UN are the General Assembly, Security Council, Economic and Social Council, Trusteeship Council, Secretariat, and International Court of Justice. Most organs are headquartered in New York City, while the Court sits in The Hague, Netherlands.