Use of force in international law
The use of force by states is controlled by both customary international law and by treaty law. The UN Charter reads in article 2(4):
All members shall refrain in their international relations from the threat or use of force against the territorial integrity or political independence of any state, or in any other manner inconsistent with the purposes of the United Nations.
International law under the UN Charter contemplates the use of force in two circumstances: (1) as self-defense against an armed attack under Article 51, or (2) when authorized by the UN Security Council to maintain international peace under Article 42. This principle is now considered to be a part of customary international law, and has the effect of banning the use of armed force except for two situations authorized by the UN Charter. Firstly, the United Nations Security Council, under powers granted in Articles 24 and 25, and Chapter VII of the UN Charter, may authorize collective action to maintain or enforce international peace and security. Secondly, Article 51 also states that: "Nothing in the present Charter shall impair the inherent right of individual or collective self-defence if an armed attack occurs against a member of the United Nations." There are also more controversial claims by some states of a right of humanitarian intervention, reprisals and the protection of nationals abroad.