California Penal Code § 654
Text of § 654
(a) An act or omission that is punishable in different ways by different provisions of law may be punished under either of such provisions, but in no case shall the act or omission be punished under more than one provision. An acquittal or conviction and sentence under any one bars a prosecution for the same act or omission under any other.
(b) Notwithstanding subdivision (a), a defendant sentenced pursuant to subdivision (a) shall not be granted probation if any of the provisions that would otherwise apply to the defendant prohibits the granting of probation.
Cite this section
Cal. Penal Code § 654
https://lawconsensus.com/codes/california/penal-code/654/
LawCensus reproduces the text of the law for reference. It may not show the most recent changes. Check the official source before you rely on it: official text. This is general information, not legal advice.