opinion: Mr. Justice Reed
  delivered the opinion of the Court.
  Petitioner is held by the Commonwealth of Pennsylvania in the Western State Penitentiary on sentences totalling a minimum of twenty and a maximum of forty years pronounced pursuant to his pleas of guilty to four indictments charging burglary. We granted certiorari to review a denial by the Supreme Court of Pennsylvania of his petition to appeal from a judgment of the Superior Court which affirmed a dismissal of a petition for habeas corpus in the Court of Common Pleas of Allegheny County. Petitioner claimed in the state courts, and now claims here, that he was denied counsel in the proceedings leading to his convictions in violation of his right to counsel under the due process of law clause of the Fourteenth Amendment.
  From the pleadings and decisions of the Pennsylvania courts, certified to us as the record in the Supreme Court of Pennsylvania, and without reliance upon any additional allegations in the petition for certiorari, the facts and allegations as to denial of constitutional rights may be summarized as follows: On October 27, 1938, petitioner Uveges, a youth seventeen years of age, was faced with four district attorney’s indictments charging four separate burglaries. Upon his plea of guilty to these indictments, Uveges was sentenced in the Court of Oyer and Terminer of Allegheny County to from five to ten years on each indictment, the sentences to run consecutively. In his petition to the Court of Common Pleas for a writ of habeas corpus in 1946, petitioner alleged that he was not informed of his right to counsel nor was counsel offered him at any time during the period between arrest and conviction. He also alleged that “frightened by threats of dire consequences if he dared to stand trial, relator pleaded guilty under the direction of an assistant district attorney, with the understanding that- a sentence to Huntington Reformatory would be imposed.” We disregard this last allegation because it was not presented to the Supreme Court of Pennsylvania in the petition for allowance of appeal. A rule to show cause why the writ should not issue was granted. The answer denied that petitioner was entitled to counsel but did not deny the allegation of threats by the assistant district attorney. The Court of Common Pleas, without a hearing, entered an order dismissing the petition and denying the writ. The Superior Court of Pennsylvania affirmed, 161 Pa. Super. 58, 53 A. 2d 894, noting that Uveges had been arrested once before for burglary and confined in,a reformatory for ten months. The State Supreme Court, on September 29, 1947, denied a petition for allowance of appeal which repeated the allegations of youth and denial of the right to counsel. 161 Pa. Super, xxv, 53 A. 2d 894. We think this record adequately raised the federal constitutional question as to denial of counsel. Pennsylvania makes no contrary contention. We granted the motion to proceed in forma pauperis and the petition for a writ of certiorari, 334 U. S. 836, in order to examine the important constitutional question presented by petitioner’s claim of right to counsel.
  Since our understanding is. that in Pennsylvania habeas corpus is available to an accused whose constitutional right to counsel has been denied, and since respondent does not suggest that the state bars a remedy by habeas corpus in the circumstances of this case because no appeal was taken from the original conviction, we proceed to the merits of this controversy.
  Some members of the Court think that where serious offenses are charged, failure of a court to offer counsel in state criminal trials deprives an accused of rights under the Fourteenth Amendment. They are convinced that the services of counsel to protect the accused are guaranteed by the Constitution in every such instance. See Bute v. Illinois, 333 U. S. 640, dissent, 677-79. Only when the accused refuses counsel with an understanding of his rights can the court dispense with counsel. Others of us think that when a crime subject to capital punishment is not involved, each case depends on its own facts. See Betts v. Brady, 316 U. S. 455, 462. Where the gravity of the crime and other factors — such as the age and education of the defendant, the conduct of the court or the prosecuting officials, and the complicated nature of the offense charged and the possible defenses thereto— render criminal proceedings without counsel so apt to result in injustice as to be fundamentally unfair, the latter group holds that the accused must have legal assistance under the Amendment whether he pleads guilty or elects to stand trial, whether he requests counsel or not. Only a waiver of counsel, under standingly made, justifies trial without counsel.
  The philosophy behind both of these views is that the due process clause of the Fourteenth Amendment or the Fifth Amendment requires counsel for all persons charged with serious crimes, when necessary for their adequate defense, in order that such persons may be advised how to conduct their trials. The application of the rule varies as indicated in the preceding paragraph.
  Under either view of the requirements of due process, the facts in this case required the presence of counsel at petitioner’s trial. He should not have been permitted to plead guilty without an offer of the advice of counsel in his situation. If the circumstances alleged in his petition are true, the accused was entitled to an adviser to help him handle his problems. Petitioner was young and inexperienced in the intricacies of criminal procedure when he pleaded guilty to crimes which carried a maximum sentence of eighty years. There is an undenied allegation that he was never advised of his right to counsel. The record shows no attempt on the part of the court to make him understand the consequences of his plea. Whatever our decision might have been if the trial court had informed him of his rights and conscientiously had undertaken to perform the functions ordinarily entrusted to counsel, we conclude that the opportunity to have counsel in this case was a necessary element of a fair hearing.
  Reversed.
  Excerpts from the brief of the Commonwealth show its acceptance of the actual issue:
  “3. The basic question of this ease is whether the petitioner was denied due process of law by reason of the fact that the Commonwealth of Pennsylvania did not appoint Counsel to represent him in the proceedings leading to his imprisonment. It is the contention of the respondent that the federal Constitution did not require that the state appoint Counsel to represent this accused since
  “(A) The requirement of the 6th Amendment to the federal constitution that the accused be represented by counsel in all criminal cases does not apply to the states and
  “(B) It is only in a capital case or under other special circumstances not here present that a state is required by the 14th Amendment to the Federal Constitution to appoint counsel to represent the accused.”
  “The vital question to be decided, and, in our view of the case the only significant question, is whether the accused, under such facts as are properly before this Court, must be represented by counsel in order that the process leading to his confinement may be deemed due process.”
  Petitioner in his petition for certiorari bases his claim for review in part on procedural irregularities allegedly in violation of state statutes, such as the failure of the district attorney personally to sign the indictments. Since these allegations, even if true, present no federal question, we have not considered them.
  See Commonwealth ex rel. McGlinn v. Smith, 344 Pa. 41, 47 — 48, 24 A. 2d 1, 4-5; Commonwealth ex rel. Penland v. Ashe, 341 Pa. 337. 341-42, 19 A. 2d 464, 466.
  See Rice v. Olson, 324 U. S. 786, 788-89; Walker v. Johnston, 312 U. S. 275, 286; Johnson v. Zerbst, 304 U. S. 458, 468.
  See e. g., Wade v. Mayo, 334 U. S. 672, 683-84; De Meerleer v. Michigan, 329 U. S. 663, 664-65; Betts v. Brady, supra, at 472, Powell v. Alabama, 287 U. S. 45, 51-52, 71.
  See e. g., Townsend v. Burke, 334 U. S. 736, 739-41; De Meerleer v. Michigan, supra, at 665; Smith v. O’Grady, 312 U. S. 329, 332-33.
  See e. g., Rice v. Olson, 324 U. S. 786, 789-91.
  Purdon’s Pa. Stat. Ann., tit. 18, § 4901.
choices: Alabama Alaska American Samoa Arizona Arkansas California Colorado Connecticut Delaware District of Columbia Federated States of Micronesia Florida Georgia Guam Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Marshall Islands Maryland Massachusetts Michigan Minnesota Mississippi Missouri Montana Nebraska Nevada New Hampshire New Jersey New Mexico New York North Carolina North Dakota Northern Mariana Islands Ohio Oklahoma Oregon Palau Pennsylvania Puerto Rico Rhode Island South Carolina South Dakota Tennessee Texas Utah Vermont Virgin Islands Virginia Washington West Virginia Wisconsin Wyoming United States Interstate Compact Philippines Indian Dakota