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. This section constitutes an overview on California habeas corpus practice as it relates to the handling of criminal appeals. A writ of habeas corpus is a petition that an individual uses to challenge their conviction or sentence in California. Court has jurisdiction pursuant to 28 U.S.C. 2241(c)(1) to grant a writ of habeas corpus for. This issue can only be raised in a habeas petition if the prisoner was not provided a "full and fair" opportunity to litigate it in state court. They must have also filed a direct appeal to the appellate court and then to the California Supreme Court.