judge advocate

noun
  1. : an officer serving under the Judge Advocate General

  1. : an officer charged with administering military justice (as by acting as legal counsel or conducting an appellate review)