"Under the jurisdiction of the Fleet Admiral, StarFleet Command Operation, the Office of the Judge Advocate General (JAG) enforces all administrative law within the ranks of Starfleet. The JAG carries out investigations of wrong-doing by Starfleet Officers and convenes court martials when necessary. Any incident requiring the intervention of the JAG is referred to the Admiral (CO) of JAG or her/his senior officer on duty. In addition to upholding the [SFI] Clan Code, the JAG investigates and prosecutes cases involving violations of StarFleet's General Orders, the Constitution of the United Federation of Planets and the Clan Code of the StarFleet Intelligence Delta Section Division [SFI]."