What rule is when military authority takes the place of civilian law?

When the military takes control of a civilian government it's called martial law. This happened in the recent past of Egypt, as one example. When this happens, normal government activities such as holding elections and other personal freedoms by a population are usually suspended.