law: 99. Trial judge advocate.
  (1) Every court-martial shall be attended by a person (in this Act referred to as the trial judge advocate) who shall be either a judge advocate in the department of the Judge Advocate-General of the Navy or any fit person appointed by the convening officer:
  Provided that in the case of a court-martial for the trial of a capital offence the trial judge advocate shall be a person nominated by the Judge Advocate-General of the Navy unless such trial is held outside Indian waters.
  (2) The trial judge advocate shall administer oath to every witness at the trial and shall perform such other duties as are provided in this Act and as may be prescribed.