<Table> <Tr> <Td> </Td> <Td> This article contains Arabic text . Without proper rendering support, you may see question marks, boxes, or other symbols . </Td> </Tr> </Table> <Tr> <Td> </Td> <Td> This article contains Arabic text . Without proper rendering support, you may see question marks, boxes, or other symbols . </Td> </Tr> <P> The United Nations (UN) is an intergovernmental organization tasked to promote international co-operation and to create and maintain international order . A replacement for the ineffective League of Nations, the organization was established on 24 October 1945 after World War II with the aim of preventing another such conflict . At its founding, the UN had 51 member states; there are now 193 . The headquarters of the UN is in Manhattan, New York City, and is subject to extraterritoriality . Further main offices are situated in Geneva, Nairobi, and Vienna . The organization is financed by assessed and voluntary contributions from its member states . Its objectives include maintaining international peace and security, promoting human rights, fostering social and economic development, protecting the environment, and providing humanitarian aid in cases of famine, natural disaster, and armed conflict . The UN is the largest, most familiar, most internationally represented and most powerful intergovernmental organization in the world . </P> <P> The UN Charter was drafted at a conference between April--June 1945 in San Francisco, and was signed on 26 June 1945 at the conclusion of the conference; this charter took effect on 24 October 1945, and the UN began operation . The UN's mission to preserve world peace was complicated in its early decades by the Cold War between the United States and Soviet Union and their respective allies . The organization participated in major actions in Korea and the Congo, as well as approving the creation of the Israeli state in 1947 . The organization's membership grew significantly following widespread decolonization in the 1960s, and by the 1970s its budget for economic and social development programmes far outstripped its spending on peacekeeping . After the end of the Cold War, the UN took on major military and peacekeeping missions across the world with varying degrees of success . </P>

When was the united nations established and what is the purpose of this organization
find me the text answering this question