The International Court of Justice is the primary judicial branch of the United Nations . Seated in the Peace Palace in The Hague, Netherlands, the court settles legal disputes submitted to it by states and provides advisory opinions on legal questions submitted to it by duly authorized international branches, agencies, and the UN General Assembly.ActivitiesEstablished in 1945 by the UN Charter, the Court began work in 1946 as the successor to the Permanent Court of International Justice. The Statute of the International Court of Justice, similar to that of its predecessor, is the main constitutional document constituting and regulating the Court.The Court's workload covers a wide range of judicial activity. After the court ruled that the United States's covert war against Nicaragua was in violation of international law, the United States withdrew from compulsory jurisdiction in 1986 to accept the court's jurisdiction only on a case-by-case basis. Chapter XIV of the United Nations Charter authorizes the UN Security Council to enforce Court rulings. However, such enforcement is subject to the veto power of the five permanent members of the Council, which the United States used in the Nicaragua case.