Habeas corpus
Habeas corpus ( ) is a legal procedure invoking the jurisdiction of a court to determine whether a detention or imprisonment is lawful. The right to petition for a writ of habeas corpus has long been celebrated as a fundamental safeguard of individual liberty. Habeas corpus is generally enforced via writ, and accordingly referred to as a writ of habeas corpus.
Source