The United Nations (UN) is a non-profit intergovernmental organization founded in 1945. Its primary function is managing international affairs, specifically focusing on maintaining international peace and security, fostering friendly relations between nations, promoting international cooperation, and coordinating member state actions. Employing approximately 58,800 people, the UN is headquartered in New York City, within internationally recognized territory possessing extraterritorial privileges. It also maintains offices in Geneva, Nairobi, Vienna, and The Hague (where the International Court of Justice resides).