(a) The Judge Advocate Generals Corps is a Staff Corps of the Navy, and shall be organized in accordance with regulations prescribed by the Secretary of the Navy.
(b) There is in the executive part of the Department of the Navy the Office of the Judge Advocate General of the Navy. The Judge Advocate General shall be appointed by the President, by and with the advice and consent of the Senate, for a term of four years. He shall be appointed from judge advocates of the Navy or the Marine Corps who are members of the bar of a Federal court or the highest court of a State and who have had at least eight years of experience in legal duties as commissioned officers. The Judge Advocate General, while so serving, has the grade of vice admiral or lieutenant general, as appropriate.
(c) Under regulations prescribed by the Secretary of Defense, the Secretary of the Navy, in selecting an officer for recommendation to the President for appointment as the Judge Advocate General, shall ensure that the officer selected is recommended by a board of officers that, insofar as practicable, is subject to the procedures applicable to selection boards convened under chapter
36 of this title.
(d) The Judge Advocate General of the Navy, under the direction of the Secretary of the Navy, shall
(1) perform duties relating to legal matters arising in the Department of the Navy as may be assigned to him;
(2) perform the functions and duties and exercise the powers prescribed for the Judge Advocate General in chapter
47 of this title;
(3) receive, revise, and have recorded the proceedings of boards for the examination of officers of the naval service for promotion and retirement; and
(4) perform such other duties as may be assigned to him.
(e) No officer or employee of the Department of Defense may interfere with
(1) the ability of the Judge Advocate General to give independent legal advice to the Secretary of the Navy or the Chief of Naval Operations; or
(2) the ability of judge advocates of the Navy assigned or attached to, or performing duty with, military units to give independent legal advice to commanders.