After a criminal conviction, a writ of habeas corpus may be used to claim that the laws were misapplied in your case. A writ of habeas corpus is used to bring a prisoner or other detainee (e.g.A writ of habeas corpus requires that a person who is in custody be brought before a judge or court and that they be able to challenge that custody. To get a writ of habeas corpus, you must file a petition for a civil (not criminal) proceeding in either state or federal court. Habeas corpus means "that you have the body," and is a writ of inquiry used to test the validity of a person's detention. To get a writ of habeas corpus, you must file a petition for a civil (not criminal) proceeding in either state or federal court. See generally W. BAnuzY, A TREATSE ON THE LAW OF HABEAS CORPUS AND SPECIAL. On being so convicted he sued out writ of habeas corpus before the Circuit Judge. Soon thereafter, the father filed a petition for a writ of habeas corpus in the Orange County Court in Orlando. Counties in this District.