The Utah Constitution enshrines the right to a writ of habeas corpus. A writ of habeas corpus is used to bring a prisoner or other detainee (e.g.Petition for Writ of Habeas Corpus Under 28 U.S.C. § 2254. Download. This petition, called a writ of Habeas Corpus, is filed in Federal Court (US District Court ) whether you are serving time in a federal or state prison. A form motion is available from the Clerk's Office and on the court's website. (A). Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. A person may petition the court for extraordinary relief on any of the grounds set forth in paragraph (b) (involving wrongful restraint on personal liberty). However, this does not mean that you have to stay in the hospital for the entire six months. (4) "Harassment" means treating the crime victim in a persistently annoying manner. (The district clerk of the county of conviction will fill in this blank.) IN THE COURT OF CRIMINAL APPEALS OF TEXAS.