court martial (n.)

also court-martial, 1650s (plural courts martial), originally martial court (1570s), from court + martial. Word-order changed on the model of French cour martiale. As a verb, from 1859.