United States mail, postage prepaid, a copy of the petition to the Attorney. 23. General of Utah or the county attorney of the county if imprisoned in a county.AO 242, Petition for a Writ of Habeas Corpus Under 28 U.S.C. § 2241, Civil Forms. Download and complete the Attorney General's Office Complaint Form. Petition for a Writ of Habeas Corpus Under 28 U.S.C. § 2241. Download. 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). 330 South 3 00 East. This view persisted into the Twentieth Century. In 1908, this Court held: As a general rule, the courts hold that on habeas corpus, in the.