N.Y. Military Law § 130.56
The punishment which a court-martial may direct for an offense shall not exceed the limits prescribed by this code.