The amended petition must be written on the courtapproved petition for writ of habeas corpus form. The Writ of Habeas Corpus demands that requires a prisoner must go before the court to determine if there is lawful authority to detain the prisoner.In his Petition for. Writ of Habeas Corpus, Petitioner names Charles L. Ryan and the Arizona Attorney. The State courts concluded that the writ of habeas corpus need not and should not issue. This matter arises on Petitioner's Petition for Writ of Habeas Corpus pursuant to 28. A Writ of Habeas Corpus is a motion which is filed most frequently to ensure that a Defendant's imprisonment or detention is not illegal. Though subject to different rules, incarcerated people in both state or federal custody may petition for a federal writ of habeas corpus. What Is Habeas Corpus? I think it injects confusion into settled law.