This petition must be clearly handwritten in ink or typed. You should exercise care to make sure all answers are true and correct.How Do I Fill Out the Form? There is an official form (Judicial Council Form HC-001) for filing a state petition for writ of habeas corpus. The Writ of Habeas Corpus protects prison inmates from false imprisonment to ensure people are not thrown into jail unlawfully. Charles Ray Williams, a civil detainee, filed a pro se petition for a writ of habeas corpus pursuant to 28 U.S.C. § 2241. Under Article Six, section 10 of the California Constitution, this. Court has original jurisdiction over a petition for writ of habeas corpus. Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. Bennett (1961) 365 U.S. 708, 712).