Any defendant who has been convicted of a New York state crime in a proceeding should be aware of their right to file a petition for a Writ of Habeas Corpus. The procedure for filing a petition for a writ of habeas corpus is spelled out in the CPLR Article 70.Any federal court may grant a writ of habeas corpus to a petitioner who is within its jurisdiction. Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. It is difficult to file more than one federal habeas corpus petition. It is important to file your habeas petition properly and completely the first time. In United States law, habeas corpus is a recourse challenging the reasons or conditions of a person's confinement under color of law. If you think that you or a loved one want to file a writ of habeas corpus, contact our office. Anthony Gregory is a historian specializing in U.S. legal and political history. (d) PostConviction Proceedings: (1) Did you raise this issue through a postconviction motion or petition for habeas corpus in a state trial court?