Opinion
Maurice S. appeals from a judgment of the juvenile court committing him to the Youth Authority upon findings that he was a person coming within the provisions of Welfare and Institutions Code section 602 in that he took personal property from the possession and immediate presence of a victim (Pen. Code, § 211) and that he escaped from the juvenile hall (Welf. & Inst. Code, § 871).
Appellant and several other boys blocked the passage of the victim’s car by backing a car out into the street. When the victim’s car stopped, it was surrounded by the boys. Appellant forced his way partly into the car and seized the victim’s purse. Appellant was taken into custody within a few minutes and identified by the victim and other witnesses.
The allegation of escape from the juvenile hall was submitted on a stipulation that a custodial officer would testify that appellant “did escape from Cottage B3” on March 8.
Appellant points out, and the Attorney General has properly conceded, that the commitment to the Youth Authority issued by the court is erroneous in specifying consecutive terms of confinement. The findings and order actually set the period of confinement at not to exceed three years. The commitment must be amended to eliminate the error.
In a supplemental brief appellant contends that, under Penal Code section 2900.5, appellant is entitled to credit against his term of confinement for 37 days actually spent in custody and 18 days good time credit (see Pen. Code, § 4019;
People
v.
Doganiere
(1978)
The minor’s stated term of confinement at CYA is 36 months, the middle term for the principal offense. An adult convicted of a similar offense and similarly sentenced would also be confined for up to 36 months.
Personal liberty is a constitutionally protected right
(People
v.
Olivas, supra,
Persons similarly situated with respect to the legitimate purpose of the law are entitled to like treatment
(Purdy & Fitzpatrick
v.
State of California
(1969)
Under the determinate sentencing law the declared purpose of adult incarceration is punishment (Pen. Code, § 1170, subd. (a)(1)). The declared purposes of juvenile commitment are treatment and rehabilitation (
In re Aline D.
(1975)
The Supreme Court noted in People v. Olivas, supra, 17 Cal.3d at pages 244-245, “Commitment in an institution of the Youth Authority can be described in many ways and can encompass a wide range of controls. However, the key factor common to all such descriptions is the physical restraint of the ward’s person. While wards confined in institutions of the Youth Authority may often experience greater freedom within the *194 institution than individuals confined in state prisons or mental hospitals [citation], they are nevertheless incarcerated against their will,. . .”
The Supreme Court treated punishment as the primary purpose for juvenile confinement when it rejected contentions that the difference in the potential duration of incarceration between youthful and adult offenders was justified by the supposed relative malleability of youthful offenders and the need for a longer period of confinement in order to achieve rehabilitation.
We conclude, on the authority of Olivas, that Youth Authority confinement of juveniles and Adult Authority confinement of adult prisoners share for the purposes of equal protection analysis a common purpose of punishment. No basis has been found for distinguishing between Youth Authority inmates and adult prisoners in regard to credit for time in confinement.
The judgment is modified by deleting the provision for consecutiveness; as modified the judgment is affirmed and the cause is remanded to the trial court with directions to compute appellant’s credit time in accordance with the views herein expressed.
As so modified the judgment is affirmed.
Caldecott, P. J., and Delucchi, J., * concurred.
On March 28, 1979, the judgment was modified to read as printed above. Respondent’s petition for a hearing by the Supreme Court was denied May 30, 1979.
