The Writ of Habeas Corpus demands that requires a prisoner must go before the court to determine if there is lawful authority to detain the prisoner. The writ of habeas corpus primarily acts as a writ of inquiry, issued to test the reasons or grounds for restraint and detention.Criminal habeas corpus writs are procedures used to test the legality and correctness of a prisoner's detention. The writ of habeas corpus is a legal order requiring a person holding another person to produce that individual before a court or judge. The Habeas Corpus petition claims the arrest, sentence, or trial violated constitutional law, making imprisonment unlawful. Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. A writ of habeas corpus is a legal rule that gives a prisoner the right to request court assistance and show that they've been wrongfully imprisoned. A writ of habeas corpus is a petition filed with the court when a prisoner wishes to contest the legality of his imprisonment. Judge Thurman proceeded to an immediate hearing and at its conclusion denied the application for habeas corpus. For example, in the year 2011, a civil malpractice case record filed in 1960 must be transferred to the state archivist.