The International Court of Justice, established in The Hague, Netherlands in 1945, is the principal judicial body of the United Nations. The principal functions of the court is to settle legal disputes submitted to it by different countries and provide legal advice to international agencies like the UN General Assembly.