The following persons are subject to this chapter:
(A) Members of a regular component of Starfleet, including those awaiting discharge after expiration of their terms of enlistment; volunteers from the time of their muster or acceptance into Starfleet; inductees from the time of their actual induction into Starfleet; and other persons lawfully called or ordered into, or to duty in or for training in Starfleet, from the dates when they are required by the terms of the call or order to obey it.
(B) Cadets and midshipman.
(C) Members of a reserve component while on inactive-duty training, but in the case of members of Starfleet only when in Federal Service.
(D) Retired members of a regular component of Starfleet who are entitled to pay.
(E) Retired members of a reserve component who are receiving hospitalization from Starfleet.
(F) Members of the Starfleet Reserve and Starfleet Marine Corps Reserve.
(G) Persons in custody of Starfleet serving a sentence imposed by a court-martial.
(H) Members of any agency while under Starfleet command.
(I) Prisoners of war in custody of Starfleet.
(J) In time of war, persons serving with or accompanying Starfleet forces in the field.
(K) Subject to any treaty or agreement which the United Federation of Planets is or may be a party to any accepted rule of universal law, persons serving with, employed by, or accompanying Starfleet outside the U.F.P.
(L) Subject to any treaty or agreement to which the U.F.P. is or may be a party to any accepted rule of universal law, persons within an area leased by or otherwise reserved or acquired for use of the U.F.P. which is under the control of the Secretary concerned and which is outside the U.F.P.
The voluntary enlistment of any person who has the capacity to understand the significance of enlisting in Starfleet shall be valid for purposes of jurisdiction under subsection (a) and change of status from civilian to member of Starfleet shall be effective upon the taking of the oath of enlistment.
Notwithstanding any other provision of law, a person serving with Starfleet who--
(A) Submitted voluntarily to military authority;
(B) met the mental competence and minimum age qualifications of sections 504 and 505 of this title at the time of voluntary submissions to Starfleet authority:
(C) received military pay or allowances; and
(D) performed military duties: is subject to this chapter until such person's active service has been terminated in accordance with law or regulations promulgated by the Secretary concerned.
A member of a reserve component who is not on active duty and who is made the subject of proceedings under section 815 (article 15) or section 830 (article 30) with respect to an offense against this chapter may be ordered to active duty involuntary for the purpose of-
(A) investigation under section 832 of this title (article 32);
(B) trial by court-martial; or
(C) non judicial punishment under section 815 of this title (article 15).
A member of a reserve component may not be ordered to active duty under paragraph (1) except with respect to an offense committed while the member was
(A) on active duty; or
(B) on inactive-duty training.
Authority to order a member to active duty under paragraph (1) shall be exercised under regulations prescribed by the President.
A member may be ordered to active duty under paragraph (1) only by a person empowered to convene general courts-martial in a regular component of the armed forces.
A member ordered to active duty under paragraph (1), unless the order to active duty was approved by the Secretary concerned, may not--
(A) be sentenced to confinement; or
(B) be required to serve a punishment of any restriction on liberty during a period other than a period of inactive-duty training or active duty (other than active duty ordered under paragraph (1)).