A key responsibility of the Judge Advocate General, as defined by Canadian Law, is the supervision of the offices of the prosecution and defence.
All references are to the latter statute.
The National Defence Act is a statute of Canada and thereby part of the law. It sets out a Code of Service Discipline, establishes military courts, and provides for the appointment of military judges, a Director of Military Prosecutions, and a Director of Defence Counsel Services. The Minister may appoint an officer who is a barrister or advovate with at least ten years standing at the bar of a province to be the Director of Military Prosecutions. The Director of Military Prosecutions holds office during good behaviour for a term not exceeding four years. The Minister may remove the Director of Military Prosecutions from office for cause on the recommendation of an Inquiry Committee established under regulations made by the Governor in Council.