Defendant, John Clarence Ward, pleaded guilty to an information charging him with murder, in violation of section 187 of the Penal Code. 1 The degree of the crime was not specified in the information or in the plea. The trial court sitting without a jury proceeded to determine the degree of the crime 2 and the punishment to be imposed. The court found the killing to be of the first degree, and it imposed punishment of life imprisonment.
Defendant filed a notice of apрeal, and thereafter the prosecution moved to dismiss the appeal on the ground of failure to comply with section 1237.5 of the Penal Code. The motion to dismiss was granted by the Court of Appeal, and the sole question fоr our determination is whether the requirements of section 1237.5 are applicable where a defendant, after a plea of guilty, does not attack the validity of his guilty plea but merely asserts that errors were committed in the proceedings *573 held subsequently to determine the degree of his crime. 3
Section 1237.5 of the Penal Code provides: “No appeal shall be taken by defendant from a judgment of conviction upon a plea of guilty or nolo contendere, except where: (a) The defеndant has filed with the trial court a written statement, executed under oath or penalty of perjury showing reasonable constitutional, jurisdictional, or other grounds going to the legality of the proceedings; and (b) The trial court has executed and filed a certificate of probable cause for such appeal with the county clerk. ’ ’
The information charging defendant with murder in violation of section 187 was filed on March 29, 1965. He initially pleaded not guilty but, on November 8, 1965, he personally withdrew this plea and entered a plea of “'Guilty ’ to Murder (187 Pen. Code).” He waived a trial by jury as to the degree of the crime and stipulated that the trial court could, in making its determination, consider certаin evidence in addition to the testimony to be taken on the issue of degree. This proceeding lasted for six days, and at its conclusion the court found that, although defendant was intoxicated at the time the crime was committed, he had sufficient mental capacity to form the specific intent to kill with premeditation and deliberation, and it found the murder to be of the first degree. Defendant waived a jury trial on the penalty issue, stipulated to the evidence which could be considered thereon, and the court fixed the punishment at life imprisonment.
Defendant filed a timely notice of appeal from the ensuing judgment but did not, within the time prescribed by rule 31(d) of the California Rules of Court, file the сertificate specified in section 1237.5. 4 On October 25, 1966, the prosecu *574 tion moved to dismiss the appeal on the ground that defendant was appealing from a judgment on a plea of guilty and had failed to comply with the requirements of section 1237.5, and the motion was granted.
We conclude that defendant was not required to comply with the provisions of section 1237.5 where, as here, he is not attempting to challenge the validity of his plea of guilty but is asserting only that errors occurred in the subsequent adversary hearings conducted by the trial court for the purpose of determining the degree of the crime and the penalty to be imposed.
The information charged that defendant was guilty of murder in violation of section 187 of the Penal Code, and his plea of guilty was confined to a violation of that statute. A guilty plea amounts to an admission of every element of the crime and is the equivalent of a conviction.
(People
v.
Jones
(1959)
*575
When a defendant pleads guilty to a crime not divided into degrees (or when he pleads guilty to a рarticular degree of the crime) no trial is held on the question of guilt and there are no controverted issues, since he admits every element of the crime, and the plea necessarily results in a judgment of conviction. Under thеse circumstances there is rationale for confining the right of appeal to a situation in which fundamental errors may have occurred. Even prior to the 1965 enactment of section 1237.5 a defendant could attack thе validity of his guilty plea only upon limited appeal grounds, such as lack of jurisdiction of the trial court or the legality of the proceedings.
(Stephens
v.
Toomey
(1959)
There is no justification, however, for applying the section to the altogether distinct procedures followed where a defendant asserts that errors occurred in the hearing held,
after
his plea was entered, on the degree of the crime and the penalty to be imposed. So far as wе have been able to determine, the right of an aggrieved defendant to appeal from a court’s determination on these issues has never been questioned (see, e.g.,
People
v.
Washington
(1962)
It has been said that a hearing for the purpose of determining the degree of an offense and the punishment to be imposed is not a “trial in the full technical sense, and is not govеrned by the same strict rules of procedure as a trial.”
(People
v.
Thomas
(1951)
To impose the requirements of section 1237.5 in the instant case would result not only in denying a defendant an appeal in a situation in which an aрpeal has always been permitted as a matter of right, but also in limiting the grounds of appeal to errors of the type described in section 1237.5 although no such limitation has previously been imposed. The concomitant of such a construction would mean, for example, that the prosecution must meet its traditional burden of proof in a hearing held for the purpose of determining the degree of a crime, but paradoxically a defendant wоuld be denied the right to question on appeal whether the burden had been met. There is no rational basis to hold that section 1237.5 was intended to accomplish such radical departure from settled principles. The primary purpose of the section, to prevent the taking of frivolous appeals based on *577 the asserted invalidity of pleas of guilty, must not be confused with the entirely separate and settled procedure relating to the determination of asserted errors occurring in subsequent hearings to ascertain the degree of a crime and the penalty to be imposed.
The motion to dismiss the appeal is denied.
Traynor, C. J., Me Comb, J., Peters, J., Tobriner, J., Burke, J., and Sullivan, J., concurred.
Notes
Seetion 187 of the Penal Code provides: " Murder is the unlawful killing of a human being, with maliсe aforethought. ’ ’
Seetion 1192 of the Penal Code states: “Upon a plea of guilty, or upon conviction by the court without a jury, of a crime distinguished or divided into degrees, the court must, before passing sentence, determine the degree. Upon the failure of the court to so determine, the degree of the crime of which the defendant is guilty, shall be deemed to be of the lesser degree.”
In a notice of appeal filed 10 days after judgment was rеndered defendant stated that he was appealing from "the judgment. ’ ’ Thereafter, in a supplementary notice of appeal, lie made it clear that the first notice was not filed for the purpose of challenging thе propriety of the guilty plea but was only intended "to test the validity of the court’s finding on the issue of degree. ...”
Rule 31(d) of the California Rules of Court was designed to implement the provisions of section 1237.5. It provides; "In cases in which a judgment of conviction was entered upon a plea of guilty or nolo contendere, the defendant shall file his notice of appeal within 10 days after the rendition of judgment, but the appeal shall not be operative unless thе defendant files the statement, and the trial court executes and files the certificate of probable cause, required by section 1237.5 of the Penal Code. The defendant shall file such statement within 10 days after the rendition of judgmеnt and when filed within such period it shall serve as a notice of appeal if no other notice of appeal is filed. Where a timely notice of appeal has been filed, the trial court may, for good causе, per *574 mit the filing of the defendant’s statement beyond the 10-day period but not later than 40 days after the rendition of judgment. Within 60 days after the rendition of judgment the trial court shall execute and file either a certificate of probable cause or an order denying such a certificate and shall forthwith notify the parties of the granting or denial of such certificate.
“The time for preparing, certifying and filing the record on appeal or for filing an agreed statement shall commence to run when the appeal becomes operative. ’ ’
