Defendant appeals from an order denying his motion to change his guilty pleas to not guilty. The basic question is whether, under rules established in
In re Estrada,
Before the
Estrada
point is discussed, however, a preliminary matter should be mentioned. Defendant also contends that his convictions should be set aside because at his preliminary hearing a confession in violation of the rules announced in
Escobedo
v.
Illinois,
The record shows that on October 1, 1963, defendant was arraigned on an information charging him with a felony violation of section 476a of the Penal Code, in that on various dates he had wrongfully passed checks totaling $56. After first pleading not guilty to this charge, defendant, in open court and in the presence of his counsel, withdrew the not guilty plea on October 23, 1963, and pleaded guilty as charged.
In the meantime, on October 10, 1963, a second independent information had been filed charging defendant with another felony violation of section 476a of the Penal Code, in that he had, on various dates, wrongfully issued cheeks totaling $60. After first pleading not guilty to this charge, defendant, in open court and in the presence of his counsel, withdrew the not guilty plea on November 4, 1963, and pleaded guilty as charged.
On December 19, 1963, petitioner was sentenced to the state prison on each conviction for the terms prescribed by law, the sentences to run concurrently. Defendant appealed, but the appeals were dismissed for failure to file an opening brief. The remittiturs issued August 18, 1964, and the convictions became final on that date.
About one month later, on September 22, 1964, defendant filed his affidavit in support of his motion to withdraw the guilty pleas. He averred that he pleaded guilty because he had been assured by his counsel that the charged offenses were misdemeanors and that the maximum punishment that could be imposed for each offense was one year in the county jail. The motion was denied and defendant has appealed.
The facts alleged clearly entitle defendant to some form of relief. Prior to September 20, 1963, subdivision (b) of section 476a of the Penal Code provided, in part, that “if the total amount of all such checks . . . that the defendant is charged with and convicted of making, knowing, or uttering does not exceed fifty dollars ($50), the offense is punishable only by imprisonment in the county jail for not more than one year. ...” On September 20, 1963, an amendment to that section became effective which increased the fifty-dollar figure to one hundred dollars. Thus, under the amended statute, which became effective before the informations were filed and before defendant was sentenced, a person convicted of illegally issuing checks totaling $56 and separately charged with
*749
illegally issuing checks totaling $60, could be convicted only of having committed two misdemeanors, and not of two felonies. In December of 1965 it was held that ameliorative amendments of this type applied to acts committed before their effective date as long as the conviction was not final on the effective date of the amendment.
(In re Estrada, supra,
Examples of the exercise of this power are numerous. In
People
v.
Bridgehouse,
“The defendants admitted the taking of the magnetos, and thereby admitted that they were guilty of petty theft. The jury has found the defendants guilty of stealing, but we think improperly fixed the degree as grand theft instead of petty theft.
“. . . we are authorized to reduce the degree of the offense and fix the same only as petty theft, and thus avoid the necessity of a retrial.” (26 Cal.App.2d at pp. 229-230.) The court remanded the case to the trial court with directions to enter judgment for petty theft and to pronounce sentence accordingly.
This reasoning applies to the instant case. Under the rule of Estrada, supra, the two informations, while purporting to charge two felonies, in fact alleged two misdemeanor violations of section 476a. Defendant’s attorney, anticipating the decision in Estrada, supra, which had not then been decided, recommended pleas of guilty. The defendant so pleaded. The defendant actually pleaded guilty to two misdemeanors. In this respect the case is indistinguishable from Simpson, supra.
It matters not whether this petition be treated as a petition for habeas corpus or one in coram nobis. If coram nobis, the case is on appeal, and if it be treated as habeas corpus section 1484 of the Penal Code provides that on habeas corpus the court hearing the case “must thereupon proceed ... to dispose of such party as the justice of the case may require, ...”
*751
Where the petitioner has demonstrated that his conviction was obtained under circumstances denying him due process, but it appears that he can be validly held on another or lesser offense, the ease should be remanded for sentencing on the lesser offense.
(In re Ralph,
There is one more factor to be considered. Here the convictions took place in 1963. Presumably the complainant has already served some time in prison. Justice requires that he be given credit for the time served.
The Attorney General urges that the district attorney should be permitted to amend the information by consolidating the two misdemeanor charges so as to charge one felony. He also contends that there is some reference in the record to the possibility that defendant had prior convictions, and that the district attorney should be permitted to charge these priors, if they exist. With priors, section 476a makes it a felony to illegally issue checks totaling over $50. The priors were not charged, proved, or admitted. Defendant has pleaded guilty to two misdemeanors and has served substantial time in prison. It would be highly unfair to defendant to permit an amendment of the information at this late date.
Inasmuch as defendant admits he intended to plead guilty to two misdemeanors, the motion to withdraw the pleas of guilt is denied. The judgment convicting defendant of two felony violations of section 476a of the Penal Code is set aside and the ease remanded to the trial court with directions to enter judgments of conviction of two misdemeanor violations of that section, and then to pronounce sentence as provided by law. Defendant is entitled to credit for time served.
It is so ordered.
Traynor, C. J., McComb, J., Tobriner, J., Mosk, J., Burke, J., and Sullivan, J., concurred.
Notes
Reference should be made also to subdivision 6 of section 1181 of the Penal Code which provides: “When the verdict or finding is contrary to law or evidence, but if the evidence shows the defendant to be not guilty of the degree of the crime of which he was convicted, but guilty of a lesser degree thereof, or of a lesser crime included therein, the court may modify the verdict, finding or judgment accordingly without granting or ordering a new trial, and this power shall extend to any court to which the cause may be appealed; ...”
