This petition must be clearly handwritten in ink or typed. You should exercise care to make sure all answers are true and correct.There is an official form (Judicial Council Form HC-001) for filing a state petition for writ of habeas corpus. You should file in the Northern District if you were convicted and sentenced in one of these counties: Alameda, Contra Costa, Del. A habeas petition is properly joined with a direct appeal in order to establish a Sixth Amendment violation. Habeas Corpus, in the Federal Court, is a petition that claims that you are being detained against your US constitutional rights. Please fill out the form and someone will be in touch with you shortly.