A court-martial (plural courts-martial) is a military court that determines punishments for members of the military subject to military law. Virtually all militaries maintain a court-martial system to try cases in which a breakdown of military discipline may have occurred. In addition, courts-martial may be used to try enemy prisoners of war for war crimes.