Habeas Corpus, in the Federal Court, is a petition that claims that you are being detained against your US constitutional rights. Put simply, habeas corpus is a writ (petition) that can be used in a narrow set of circumstances to bring the case of a state prisoner."The writ of habeas corpus stands as a safeguard against imprisonment of those held in violation of the law. The privilege of the writ of habeas corpus shall not be suspended, unless when in the case of rebellion or invasion the public safety may require it. Habeas corpus, in other words, is a petition that asks the court to completely dismiss the charges against you over the Prosecutor's objection. The law in the area is an intricate weave of statute and case law. Wills and Orphans' Court Division accept for filing and maintaining legal documents for Allegheny County Orphans' Court. Clair, Allegheny Co., Pennsylvania. Court of Common Pleas of. Amicus Curiae - A person with a strong interest in the subject matter may petition the court for permission to file a brief.