Habeas Corpus, in the Federal Court, is a petition that claims that you are being detained against your US constitutional rights. It demands a person's release from unlawful detention.A Writ of Habeas Corpus is a civil proceeding that is available in both State and Federal Court to challenge the legality of imprisonment. The procedure for filing a petition for a writ of habeas corpus is spelled out in the CPLR Article 70. The writ of habeas corpus is a legal order requiring a person holding another person to produce that individual before a court or judge. Habeas corpus is a Latin phrase meaning "produce the body. During the American Civil War, President Abraham Lincoln suspended the right of habeas corpus in a test of executive authority. Any prisoner, or another person acting on their behalf, may petition the court, or a judge, for a writ of habeas corpus. The privilege of the writ of habeas corpus shall not be suspended, unless when in Cases of Rebellion or Invasion the public Safety may require it. The constitutional violations in your case.