The International Court of Justice has 15 judges elected by the UN General Assembly and Security Council who serve 9-year terms. It has both contentious and advisory jurisdictions. Contentious jurisdiction involves deciding cases between states that consent to the Court's authority, including voluntary, ad hoc, or compulsory types of consent-based jurisdiction. Advisory jurisdiction allows the Court to provide non-binding advisory opinions on legal issues when requested by authorized international bodies.