A writ of habeas corpus is used to bring a prisoner or other detainee (e.g. institutionalized mental patient) before the court to determine if the person's imprisonment or detention is lawful. A habeas petition proceeds as a civil action against the State agent (usually a warden) who holds the defendant in custody.
A writ of habeas corpus orders the custodian of an individual in custody to produce the individual before the court to make an inquiry concerning his or her detention, to appear for prosecution (ad prosequendum) or to appear to testify (ad testificandum).
"The privilege of the writ of habeas corpus shall not be suspended except in cases of invasion or rebellion when the public safety requires it." The Constitution protects the writ as a critical instrument for ensuring that the state or any other detaining authority respects an individual's fundamental rights.
The habeas petition must be in writing and signed and verified either by the petitioner seeking relief or by someone acting on his or her behalf. The petition must name the custodian as the respondent and state the facts concerning the applicant's custody and include the legal basis for the request.
—The writ of habeas data is a remedy available to any person whose right to privacy in life, liberty or security is violated or threatened by an unlawful act or omission of a public official or employee, or of a private individual or entity engaged in the gathering, collecting or storing of data or information ...
Without the writ of habeas corpus, people would be at risk of being detained indefinitely without good reason or at least the right to have a fair hearing. The writ of habeas corpus assures the accused of asking for a hearing to determine the validity of their detainment.
The court must rule on a petition for writ of habeas corpus within 60 days after the petition is filed. (B) If the court fails to rule on the petition within 60 days of its filing, the petitioner may file a notice and request for ruling.
All prisoners may file a writ of habeas corpus. However, judges receive a flood of habeas corpus petitions each year, including some that inmates prepare without the assistance of a lawyer. Strict procedures govern which petitions judges may consider.
The "Great Writ" of habeas corpus is a fundamental right in the Constitution that protects against unlawful and indefinite imprisonment. Translated from Latin it means "show me the body." Habeas corpus has historically been an important instrument to safeguard individual freedom against arbitrary executive power.