is subject to prosecution for such alleged offense both by court-martial under chapter 47 of title 10, United States Code (the Uniform Code of Military Justice), and by a civilian court under Federal or State law, the commander of such victim shall create and maintain appropriate documentation of the expressed preference, if any, of such victim for prosecution of such alleged offense by court-martial or by a civilian court as provided for by Rule 306(e) of the Rules for Court-Martial. (c) Regulations The Secretary of Defense shall prescribe in regulations the requirements applicable to each of the following: (1) Notifications under subsection (a)(1). (2) Elections under subsection (a)(2). (3) Documentation under subsection (a)(3). (4) Documentation under subsection (b). 525. Training for commanders in the Armed Forces on their role in all stages of military justice in connection with sexual assault (a) In general The training provided commanders in the Armed Forces shall include comprehensive training on the role of commanders in all stages of military justice in connection with sexual assaults by members of the Armed Forces. (b) Elements To be covered The training provided pursuant to subsection (a) shall include training on the following: (1) The role of commanders in each stage of the military justice process in connection with sexual assault committed by a member of the Armed Forces, including investigation and prosecution. (2) The role of commanders in assuring that victims in sexual assault described in paragraph (1) are informed of, and have the opportunity to obtain, assistance available for victims of sexual assault by law. (3) The role of commanders in assuring that victims in sexual assault described in paragraph (1) are afforded the due process rights and protections available to victims by law. (4) The role of commanders in preventing retaliation against victims, their family members, witnesses, first responders, and bystanders for their their complaints, statements, testimony, and status in