Penal Code section 669
(a)
When a person is convicted of two or more crimes, whether in the same proceeding or court or in different proceedings or courts, and whether by judgment rendered by the same judge or by different judges, the second or other subsequent judgment upon which sentence is ordered to be executed shall direct whether the terms of imprisonment or any of them to which he or she is sentenced shall run concurrently or consecutively. Life sentences, whether with or without the possibility of parole, may be imposed to run consecutively with one another, with any term imposed for applicable enhancements, or with any other term of imprisonment for a felony conviction. Whenever a person is committed to prison on a life sentence which is ordered to run consecutive to any determinate term of imprisonment, the determinate term of imprisonment shall be served first and no part thereof shall be credited toward the person’s eligibility for parole as calculated pursuant to Section 3046 or pursuant to any other section of law that establishes a minimum period of confinement under the life sentence before eligibility for parole.(d)
When a court imposes a concurrent term of imprisonment and imprisonment for one of the crimes is required to be served in the state prison, the term for all crimes shall be served in the state prison, even if the term for any other offense specifies imprisonment in a county jail pursuant to subdivision (h) of Section 1170.
Source:
Section 669, https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=PEN§ionNum=669.
(accessed Apr. 24, 2025).