The People move to dismiss defendant’s appeal from an order adjudging him insane within the meaning of section 1368 of the Penal Code and committing him to the Atascadero State Hospital until he is pronounced sane. It is urged that the order is not appealable.
Defendant was charged with the crime of receiving stolen property in violation of section 496 of the Penal Code. Prior to the date set for trial the court, on the motion of defendant’s attorney, suspended the criminal proceedings and appointed two psychiatrists to examine defendant. Acting in his own behalf defendant then moved to set aside the order suspending criminal proceedings. When his motion was denied he discharged his court-appointed counsel and insisted on representing himself in the trial of the issue of sanity. At the conclusion of the six-day trial, the jury found him insane, and the court ordered him committed to Atascadero State Hospital for care and treatment until pronounced sane. This appeal followed.
Section 1368 of the Penal Code provides that, if at any time during the pendency of an action and prior to judgment a *540 doubt arises as to the sanity of a defendant, the court must, suspend all proceedings in the criminal prosecution and determine the question of the defendant’s sanity. If he is found insane, the trial or judgment must be suspended until he is restored to sanity. Furthermore the court must order him committed by the sheriff to a state hospital for the care and treatment of the insane. (Pen. Code, § 1370.) If defendant returns to sanity, the superintendent shall certify that fact to the sheriff and district attorney, and the sheriff shall place defendant in custody subject to the criminal proceedings or until he is legally discharged. (Pen. Code, § 1372.) It does not expressly appear from any of these sections whether or not an order of commitment is appealable.
In a proceeding under section 1368 a defendant is not charged with a criminal act and is not subject to criminal proceedings or punishment if he is found insane. It is a special proceeding rather than a criminal action.
(People
v.
Lawson,
An order determining that a defendant is insane and directing that he be committed is a final determination of his mental condition at that time, and such an order could result in a confinement for life. Thus in
Higgins
v.
United States,
Furthermore in analogous situations involving orders of commitment of mentally disordered sex offenders and narcotics addicts, it has been held that such orders of commitment are appealable as final orders in special proceedings.
(In re De La O,
Although the superintendent of the state hospital to which defendant is committed may subsequently determine that he is restored to sanity and can be returned for further proceedings in the criminal action, this does not mean that the order of commitment is interlocutory. The superintendent’s determination in such a case is based upon circumstances relative to defendant’s condition existing at the time of the superintendent’s examination and constitutes neither a review of the original order of commitment nor a determination that it was erroneous.
The language in
People
v.
Superior Court,
Unless a defendant may appeal from an adjudication that he is insane within the meaning of section 1368, the proceedings leading to the adjudication may never be reviewed. Such a result would follow, for example, where the criminal proceedings are dismissed while he is committed to the state hospital or where he is not subsequently declared sane and returned to face the criminal charge. It should be noted that this situation does not exist where the trial of the issue of the defendant’s sanity results in a determination that he is sane. In such circumstances the court will proceed with the trial of the criminal charge (Pen Code, § 1370), and the determination of the issue of sanity may be reviewed on appeal from a judgment of conviction as in the ease of any other intermediate order.
(People
v.
Lawson, supra,
In view of the important consequences of a determination that a defendant is insane within the meaning of section 1368, we are satisfied that an order adjudicating the defendant to be insane and committing him to a state hospital until pronounced sane is appealable as a final judgment in a special proceeding and that the motion to dismiss the appeal should be denied.
Defendant has requested that counsel be appointed to represent him on appeal and in support of his request has filed an affidavit of indigency. His right to counsel is not directly before us on this motion to dismiss the appeal but, because a constitutional right may be involved, we have found it appropriate to consider the question here.
As we have seen, a proceeding under section 1368 is a special proceeding. However, the right of an accused to counsel is not limited to proceedings which are labeled criminal but additionally extends to proceedings, whatever the label, which “ ‘must be regarded as part of the proceedings in the criminal case.’ ”
(People
v.
Shipman, ante,
pp. 226, 231 [
In
Douglas
v.
California,
The order from which defendant appeals involves an indefinite and for that reason possibly a final deprivation of liberty. The proceeding in which the order was rendered is a part of the administration of the criminal law, and an assignment of counsel will promote effective appellate court administration and minimize the hazards of affirming an erroneous judgment. (See
People
v.
Brown,
The motion to dismiss the appeal is denied.
Traynor, C. J., McComb, J., Peters, J., Tobriner, J., and Schauer, J., * concurred.
Notes
Retired Associate Justice of the Supreme Court sitting under assignment by the Chairman of the Judicial Council.
