N.Y. Military Law § 15
The attorney general of the state shall give such legal advice and assistance to the adjutant general as he may request.