The United Nations was established in 1945 after the failures of the League of Nations and two devastating world wars. It aims to maintain international peace and security and promote cooperation between nations. The main organs of the UN are the General Assembly, Security Council, and International Court of Justice. The General Assembly is the main deliberative body that discusses issues related to international peace. The Security Council acts to maintain peace and has veto power for its five permanent members. The International Court of Justice settles disputes legally.