Opinion by
Relator, William Sawchak, in his petition for writ of habeas corpus filed in this Court, averred that he *531 was unlawfully detained in the Western State Penitentiary under sentences imposed on void indictments. The sentences which had been imposed by the Court of Quarter Sessions of Bedford County on October 16, 1944, aggregated not less than nine and one-half years nor more than nineteen years.
Relator entered pleas of guilty to four separate bills of indictment, Nos. 1, 2, 4, and 5, December Sessions, 1944, Bedford County,. charging him and a codefendant with assault and battery with intent to kill, resisting arrest, carrying a deadly weapon, and attempted robbery. The sentence on bill No. 1, assault and battery with intent to kill, was for a term of imprisonment in the Western State Penitentiary of not less, than three and one-half years nor more than seven years; the sentence on bill No. 2, resisting arrest, was for a term of imprisonment in the Bedford County Jail of not less than six months nor more than one year, the sentence to run concurrently with sentence imposed on bill No. 1; the sentence on bill No. 4, carrying deadly weapon, was for a term of imprisonment in the Western State Penitentiary of not less than one-half year nor more than one year, sentence to be consecutive to sentences on bills Nos. 1 and 2; the sentence on bill No. 5, attempted robbery, was for a term of imprisonment in the Western State Penitentiary of not less than five and one-half years nor more than eleven years, the sentence to be consecutive to sentences on bills Nos. 1, 2, and 4.
On October 1, 1944, relator and his confederate, Peter Revty, were stopped by an officer of the Pennsylvania State Police in Bedford County while operating a motor vehicle in violation of the law. The car had been stolen. The officer directed relator and his companion to get out of the car. Revty drew a gun and threatened the officer. Relator attempted to take the officer’s gun from his person. Thereafter Revty shot *532 and wounded the officer; he and relator then fled in the stolen car. They were soon apprehended; both were armed. They were confined in the Bedford County Jail in separate cells. Relator signed a confession in which he recited in detail his extensive criminal activities including the crimes committed in Bedford County. On October 2,1944, relator was brought before a justice of the peace in the Borough of Bedford at which time the charges that were contained in the information were read to him and he was advised of his rights. These charges were subsequently incorporated in the bills of indictment. Before the justice of the peace, relator admitted his guilt and said that he understood that he was waiving a preliminary hearing. Relator was 19 years of age, and had a seventh grade education.
Answers were filed to thé rule to show cause issued on relator’s petition by the District Attorney of Bedford County and the warden of the Western State Penitentiary. We ordered the matter set down for argument, and briefs were filed. Subsequently, relator filed an “amended Petition for Writ of Habeas Corpus” containing additional averments.
In his petitions, relator made a number of factual allegations relating to the alleged deprivation of constitutional rights; the averments were denied in the answer of the District Attorney of Bedford County. Relator’s averments were in effect (1) that, prior to the entry of pleas of guilty and before sentences were imposed, relator was not advised of his right to counsel by the trial judge or the district attorney; (2) that he did not waive his right to counsel; (3) that notwithstanding his request he was not afforded access to counsel, family, or friends during the period of sixteen days’ confinement before the imposition of sentence; (4) that undue pressure was placed upon him by the prosecuting officials to enter pleas of guilty; (5) and
*533
that his signed statement as to the crimes alleged to have been committed in Bedford County, as well as other offenses, were obtained from him under duress. By order of March 6, 1951, we referred the petitions and answer to the Court of Quarter Sessions of Bed-ford County so that the relator might have an opportunity to establish by evidence the material averments of the petitions, and so that the Commonwealth might have an opportunity to rebut this evidence. See
Com. ex rel. Milewski v.
Ashe,
The evidence taken by the Court of Quarter Sessions of Bedford County pursuant to our order of March 6, 1951, supports the findings of the hearing judge, which we adopt; the evidence does not support any of the material allegations of relator in his petitions for writ of habeas corpus. It does not appear from the record that relator was overreached or that anything occurred inconsistent with due process of law. His education, seventh grade, and age, nineteen years, do not afford in this proceeding any assumption to the. contrary; he ..was not. lacking, in comprehension or physical'maturity. His . career of crime cul
*535
minated in Bedford County when he and his companion in crime attempted to kill a state policeman. His detailed confession was not obtained by force or coercion and contains a lucid recital of his criminal activities and crimes of violence. The record discloses that relator refused counsel “with an understanding of his rights.” See
Com. ex rel. Uveges v. Ashe,
Relator’s other contentions set forth in his petition and amended petition for writ of habeas corpus are likewise without merit.
With respect to the indictment in which he was charged with carrying a deadly weapon (No. 4, December Sessions, 1944), he alleges that it is defective in that it fails to aver that the weapon was carried concealed upon relator’s person. The indictment charges relator with unlawfully carrying “a certain firearm . . . with intent therewith unlawfully and maliciously to do injury to another person, contrary to the provisions of Section 416 of the Penal Code, approved the 24th day of June, 1939, as amended . . . .” The offense of carrying a deadly weapon concealed upon the person with intent to do injury to another is the only offense defined in section 416,18 PS §4416. The omission of. an averment that the weapon was concealed , upon r,elator!s person.:., was merely a formal defect ■ that -is .not prop *536 erly reviewable in a habeas corpus proceeding. Relator was not harmed.
Relator further contends that an attempt to commit robbery is not an indictable offense. This contention is entirely erroneous. An attempt to commit robbery is a common law offense.
Com. v. Guida,
Relator also asserts that the offense of assault with intent to kill merged with the charge of attempted robbery so as to preclude the imposition of a separate sentence for each offense. The facts out of which the two offenses arose do not support such allegation. While relator’s confederate in their criminal activities pointed a gun at the police officer, relator attempted to take the officer’s revolver from him. Subsequently Revty shot and wounded the officer to facilitate their escape. It is obvious that the one crime did not necessarily involve the other. This is the test as to merger.
Com. ex rel. Moszczynski v.
Ashe,
Relator questions our right to have referred the matter to the Court of Quarter Sessions of Bedford County for hearing and findings on the factual issues raised by the petitions and answer. Relator’s argument in this connection is based upon the fact that at the time of the institution of this proceeding the court of Bedford County did not have jurisdiction to entertain habeas corpus proceedings as relator was not confined in that county. (See Act of May 25, 1951, No. 98, which conferred jurisdiction in such cases on *537 judges of the court of common pleas of the judicial district wherein relator was convicted and sentenced.)
The fact that the Court of Common Pleas of Bed-ford County did not have jurisdiction at the time to entertain a petition for writ of habeas corpus does not restrict our inherent power to have the disputed issues submitted to the Court of Quarter Sessions of that county for the taking of testimony and the making of findings of fact. It has been the established practice of both appellate courts of this Commonwealth to refer such matters to the court of the county where the factual dispute originated. Our right to do so is beyond question.
Com. ex rel. Milewski v. Ashe,
supra,
The rule to show cause is discharged, and writ of habeas corpus is refused.
