2023 California Code › Penal Code - PEN › PART 1 - OF CRIMES AND PUNISHMENTS › TITLE 16 - GENERAL PROVISIONS › Section 667.7.

667.7. (a) Any person convicted of a felony in which the person inflicted great bodily injury as provided in Section 12022.53 or 12022.7, or personally used force which was likely to produce great bodily injury, who has served two or more prior separate prison terms as defined in Section 667.5 for the crime of murder; attempted murder; voluntary manslaughter; mayhem; rape by force, violence, or fear of immediate and unlawful bodily injury on the victim or another person; oral copulation by force, violence, duress, menace, or fear of immediate and unlawful bodily injury on the victim or another person; sodomy by force, violence, duress, menace, or fear of immediate and unlawful bodily injury on the victim or another person; lewd acts on a child under the age of 14 years by use of force, violence, duress, menace, or fear of immediate and unlawful bodily injury on the victim or another person; a violation of subdivision (a) of Section 289 where the act is accomplished against the victim’s will by means of force, violence, duress, menace, or fear of immediate and unlawful bodily injury on the victim or another person; kidnapping as punished in former subdivision (d) of Section 208, or for ransom, extortion, or robbery; robbery involving the use of force or a deadly weapon; carjacking involving the use of a deadly weapon; assault with intent to commit murder; assault with a deadly weapon; assault with a force likely to produce great bodily injury; assault with intent to commit rape, sodomy, oral copulation, sexual penetration in violation of Section 289, or lewd and lascivious acts on a child; arson of a structure; escape or attempted escape by an inmate with force or violence in violation of subdivision (a) of Section 4530, or of Section 4532; exploding a destructive device with intent to murder in violation of Section 18745; exploding a destructive device which causes bodily injury in violation of Section 18750, or mayhem or great bodily injury in violation of Section 18755; exploding a destructive device with intent to injure, intimidate, or terrify, in violation of Section 18740; any felony in which the person inflicted great bodily injury as provided in Section 12022.53 or 12022.7; or any felony punishable by death or life imprisonment with or without the possibility of parole is a habitual offender and shall be punished as follows:
(1) A person who served two prior separate prison terms shall be punished by imprisonment in the state prison for life and shall not be eligible for release on parole for 20 years, or the term determined by the court pursuant to Section 1170 for the underlying conviction, including any enhancement applicable under Chapter 4.5 (commencing with Section 1170) of Title 7 of Part 2, or any period prescribed by Section 190 or 3046, whichever is greatest. Article 2.5 (commencing with Section 2930) of Chapter 7 of Title 1 of Part 3 shall apply to reduce any minimum term in a state prison imposed pursuant to this section, but the person shall not otherwise be released on parole prior to that time.
(2) Any person convicted of a felony specified in this subdivision who has served three or more prior separate prison terms, as defined in Section 667.5, for the crimes specified in subdivision (a) of this section shall be punished by imprisonment in the state prison for life without the possibility of parole.
(b) This section shall not prevent the imposition of the punishment of death or imprisonment for life without the possibility of parole. No prior prison term shall be used for this determination which was served prior to a period of 10 years in which the person remained free of both prison custody and the commission of an offense which results in a felony conviction. As used in this section, a commitment to the Department of the Youth Authority after conviction for a felony shall constitute a prior prison term. The term imposed under this section shall be imposed only if the prior prison terms are alleged under this section in the accusatory pleading, and either admitted by the defendant in open court, or found to be true by the jury trying the issue of guilt or by the court where guilt is established by a plea of guilty or nolo contendere or by a trial by the court sitting without a jury.
(Amended by Stats. 2010, Ch. 178, Sec. 64. (SB 1115) Effective January 1, 2011. Operative January 1, 2012, by Sec. 107 of Ch. 178.)