The united nations was formed after ww2. The UN Charter sets out four main purposes: Maintaining worldwide peace and security. Developing relations among nations. Fostering cooperation between nations in order to solve economic, social, cultural, or humanitarian international problems.