Notwithstanding any other provision of law, probation shall not be granted to, nor shall the execution or imposition of sentence be suspended for, nor shall a finding bringing the defendant within this section be stricken pursuant to Section 1385 for, any of the following persons:
Any person who personally used a firearm during the commission or attempted commission of any of the following crimes:
Robbery, in violation of Section 211.
Kidnapping, in violation of Section 207, 209, or 209.5.
Lewd or lascivious act, in violation of Section 288.
Burglary of the first degree, as defined in Section 460.
Rape, in violation of Section 261, 262, or 264.1.
Assault with intent to commit a specified sexual offense, in violation of Section 220.
Escape, in violation of Section 4530 or 4532.
Carjacking, in violation of Section 215.
Aggravated mayhem, in violation of Section 205.
Torture, in violation of Section 206.
Continuous sexual abuse of a child, in violation of Section 288.5.
A felony violation of Section 136.1 or 137.
Sodomy, in violation of Section 286.
Oral copulation, in violation of Section 288a.
Sexual penetration, in violation of Section 289 or 264.1.
Aggravated sexual assault of a child, in violation of Section 269.
Any person previously convicted of a felony specified in paragraph (1), or assault with intent to commit murder under former Section 217, who is convicted of a subsequent felony and who was personally armed with a firearm at any time during its commission or attempted commission or was unlawfully armed with a firearm at the time of his or her arrest for the subsequent felony.
Aggravated arson, in violation of Section 451.5.
(1)The existence of any fact that would make a person ineligible for probation under subdivision (a) shall be alleged in the accusatory pleading, and either admitted by the defendant in open court, or found to be true by the trier of fact.
As used in subdivision (a), “used a firearm” means to display a firearm in a menacing manner, to intentionally fire it, to intentionally strike or hit a human being with it, or to use it in any manner that qualifies under Section 12022.5.
As used in subdivision (a), “armed with a firearm” means to knowingly carry or have available for use a firearm as a means of offense or defense.