12022.6.
(a) (1) Any person who, during the commission or attempted commission of any offense specified in paragraph (2) on the grounds of, in a building at, or in the adjacent surroundings of a public or private school, or at an activity sponsored by a public or private school, knows or reasonably should know that the victim is a student, school employee, or school volunteer and who, with the intent to inflict great bodily injury, inflicts great bodily injury on a student, school employee, school volunteer, or fetus shall be punished by an additional and consecutive term of imprisonment in the state prison for two, three, or four years.(2) This subdivision applies to the following offenses:
(A) Manslaughter, in violation of Section 192.
(B) Mayhem, in violation of Section 203 or 205.
(C) Kidnapping, in violation of Section 207, 209, or 209.5.
(D) Robbery, in violation of Section 211.
(E) Carjacking, in violation of Section 215.
(F) Assault with intent to commit a specified felony, in violation of Section 220.
(G) Rape, in violation of Section 261 or former Section 262.
(H) Rape or sexual penetration in concert, in violation of Section 264.1.
(I) Sodomy, in violation of Section 286.
(J) Oral copulation, in violation of Section 287 or former Section 288a.
(K) Lewd act on a child, in violation of Section 288 or 288.5.
(L) Sexual penetration, in violation of Section 289.
(b) Notwithstanding subparagraph (C) of paragraph (3) of subdivision (c) of Section 1385, any person who, during the commission or attempted commission of a murder, in violation of Section 187, on the grounds of, in a building at, or in the adjacent surroundings of a public or private school, or at an activity sponsored by a public or private school, knows or reasonably should know that the victim is a student, school employee, or school volunteer and who, with the intent to inflict great bodily injury or death, inflicts great bodily injury on or causes the death of a student, school employee, school volunteer, or fetus shall be punished by an additional and consecutive term of imprisonment in the state prison for 10 years.
(c) (1) Any person who, during the commission or attempted commission of any offense specified in paragraph (2) on the grounds of, in a building at, or in the adjacent surroundings of a church, temple, synagogue, mosque, or other place of worship, or at an activity sponsored by a church, temple, synagogue, mosque, or other place of worship, with the intent to inflict great bodily injury, inflicts great bodily injury on a human being or a fetus, shall be punished by an additional and consecutive term of imprisonment in the state prison for two, three, or four years.
(2) This subdivision applies to the following offenses:
(A) Manslaughter, in violation of Section 192.
(B) Mayhem, in violation of Section 203 or 205.
(C) Kidnapping, in violation of Section 207, 209, or 209.5.
(D) Robbery, in violation of Section 211.
(E) Carjacking, in violation of Section 215.
(F) Assault with intent to commit a specified felony, in violation of Section 220.
(G) Rape, in violation of Section 261 or former Section 262.
(H) Rape or sexual penetration in concert, in violation of Section 264.1.
(I) Sodomy, in violation of Section 286.
(J) Oral copulation, in violation of Section 287 or former Section 288a.
(K) Lewd act on a child, in violation of Section 288 or 288.5.
(L) Sexual penetration, in violation of Section 289.
(d) Notwithstanding subparagraph (C) of paragraph (3) of subdivision (c) of Section 1385, any person who, during the commission or attempted commission of a murder, in violation of Section 187, on the grounds of, in a building at, or in the adjacent surroundings of a church, temple, synagogue, mosque, or other place of worship, or at an activity sponsored by a church, temple, synagogue, mosque, or other place of worship, with the intent to inflict great bodily injury or death, inflicts great bodily injury on or causes the death of a human being or a fetus, shall be punished by an additional and consecutive term of imprisonment in the state prison for 10 years.