New York Petition Under 28 USC 2254 for Writ of Habeas Corpus by a Person in State Custody is a legal document filed in the United States District Court for the Southern District of New York. It is used by an individual who has been convicted and is currently in state custody to challenge their conviction. The writ of habeas corpus is a legal document that requires the state court to review the conviction and determine if the conviction was made in accordance with the law. The petition typically includes the individual’s name and case number, as well as a statement of facts, arguments in support of the petition, and any relevant evidence. The petitioner must demonstrate that they have exhausted all their state court remedies before filing the petition. The petitioner must also demonstrate that they have been denied a fair trial or have been denied due process of law. There are two types of New York Petition Under 28 USC 2254 for Writ of Habeas Corpus by a Person in State Custody. The first is a Petition for a Writ of Habeas Corpus Ad Prosequendum. This type of petition is used when the individual is seeking relief from an illegal or unconstitutional confinement. The second type is a Petition for a Writ of Habeas Corpus Ad Testificandum. This type of petition is used when the individual is seeking relief from an illegal or unconstitutional sentence.