; . (b) No exercise by officers in chain of command of accused or victim Such section (article) is further amended by adding at the end the following new subsection: (c) An officer specified in subsection (a)(8) may not convene a court-martial under this section if the officer is in the chain of command of the accused or the victim. . (c) Offices of Chiefs of Staff on courts-Martial (1) Offices required Each Chief of Staff of the Armed Forces or Commandant specified in paragraph (8) of section 822(a) of title 10, United States Code (article 22(a) of the Uniform Code of Military Justice), as amended by subsection (a), shall establish an office to do the following: (A) To convene general and special courts-martial under sections 822 and 823 of title 10, United States Code (articles 22 and 23 of the Uniform Code of Military Justice), pursuant to paragraph (8) of section 822(a) of title 10, United States Code (article 22(a) of the Uniform Code of Military Justice), as so amended, with respect to offenses to which section 2(a) applies. (B) To detail under section 825 of title 10, United States Code (article 25 of the Uniform Code of Military Justice), members of courts-martial convened as described in subparagraph (A). (2) Personnel The personnel of each office established under paragraph (1) shall consist of such members of the Armed Forces and civilian personnel of the Department of Defense, or such members of the Coast Guard or civilian personnel of the Department of Homeland Security, as may be detailed or assigned to the office by the Chief of Staff or Commandant concerned. The members and personnel so detailed or assigned, as the case may be, shall be detailed or assigned from personnel billets in existence as of the effective date for this Act specified in section 6. 4. Discharge using otherwise authorized personnel and resources (a) In general The Secretaries of the military departments and the Secretary of Homeland Security (with respect to the Coast Guard when it is not operating as a service in the Navy)