The correct option is D Both the General Assembly and the Security Council independently of one another
The International Court of Justice is composed of 15 judges elected to nine-year terms of office by the United Nations General Assembly and the Security Council. In order to be elected, a candidate must receive an absolute majority of the votes in both bodies.