Habeas Corpus, in the Federal Court, is a petition that claims that you are being detained against your US constitutional rights. The "Great Writ" of habeas corpus is a fundamental right in the Constitution that protects against unlawful and indefinite imprisonment.A Writ of Habeas Corpus is a civil proceeding that is available in both State and Federal Court to challenge the legality of imprisonment. To get a writ of habeas corpus, you must file a petition for a civil (not criminal) proceeding in either state or federal court. In United States law, habeas corpus is a recourse challenging the reasons or conditions of a person's confinement under color of law. A seasoned New York habeas corpus lawyer can guide and represent you in the filing and litigation of a motion for a writ of habeas corpus. A writ of habeas corpus is a judicial mandate to a prison official, usually the warden, ordering that an inmate be brought to the court. Latin for "that you have the body. LAW"). 3. Other ways of attacking your conviction include filing an appeal, or a state or federal writ of habeas corpus. In many countries, authorities may incarcerate someone for months or years without charging them.