Cal. Penal Code § 190
(a) Every person guilty of murder in the first degree shall be punished by death, imprisonment in the state prison for life without the possibility of parole, or imprisonment in the state prison for a term of 25 years to life. The penalty to be applied shall be determined as provided in Sections 190.1, 190.2, 190.3, 190.4, and 190.5.
Except as provided in subdivision (b), (c), or (d), every person guilty of murder in the second degree shall be punished by imprisonment in the state prison for a term of 15 years to life.
(c) Every person guilty of murder in the second degree shall be punished by imprisonment in the state prison for a term of life without the possibility of parole if the victim was a peace officer, as defined in subdivision (a) of Section 830.1, subdivision (a), (b), or (c) of Section 830.2, subdivision (a) of Section 830.33, or Section 830.5, who was killed while engaged in the performance of his or her duties, and the defendant knew, or reasonably should have known, that the victim was a peace officer engaged in the performance of his or her duties, and any of the following facts has been charged and found true: