The Charter of the United Nations is the founding treaty of the United Nations and establishes the maintenance of international peace and security as an objective of the United Nations and stipulates that effective collective action must be taken to this end to prevent or eliminate threats to peace and to resolve or settle them by peaceful means in accordance with the principles of justice and international law.