Martial law is law administered by the military rather than by a civilian government, typically to restore order. Martial law is declared in an emergency, in a response to a crisis, or to control occupied territory.