Which type of law applies to the following situation?

A soldier on active duty commits a crime while on duty under the jurisdiction of his commander.

A. civil law
B. criminal law
C. constitutional law
D. military law