Judge Advocate General of the Navy. The Judge Advocate General of the Navy (JAG) is the highest-ranking uniformed lawyer in the United States Department of the Navy. The Judge Advocate General is the principal advisor to the Secretary of the Navy and the Chief of Naval Operations on legal matters pertaining to the Navy.