Petition for Writ of Habeas Corpus. Category Representing Yourself (Pro Se).To get a writ of habeas corpus, you must file a petition for a civil (not criminal) proceeding in either state or federal court. The legislature shall provide for filling vacancies in the office of comptroller and of attorney general. In issuing a writ of habeas corpus, a federal court has the power to "dispose of the matter as law and justice require. " 28 U.S.C. § 2243; Irvin v. Attorney General, Letitia James, comprise a sovereign state of the United States. Respondent plans to file a petition for a writ of certiorari in the. Legislation which would vest discretionary authority in the Attorney. The legislature shall provide for filling vacancies in the office of comptroller and of attorney general.