You should use this form if. A writ of habeas corpus is appropriate when you are requesting that the.It permits a federal court to grant a state prisoner a writ of habeas corpus "on the ground that he or she is in custody in violation of the. In the Petition, he seeks federal habeas relief from his 2010 convictions in the Court of Common Pleas of Allegheny County, Pennsylvania, at Case Nos. Courts to be open; suits against the Commonwealth. 12. Power of suspending laws. 13. This is an appeal from the refusal of the Court of Common Pleas of Allegheny County to grant the writ of habeas corpus. Gov website belongs to an official government organization in the United States. Sample Forms These sample forms may be useful when filing documents for the civil and family courts. If you have any questions, consult an attorney.