California Penal Code § 1192.2
Text of § 1192.2
Upon a plea of guilty before a committing magistrate as provided in Section 859a, to a crime or attempted crime divided into degrees, when consented to by the prosecuting attorney in open court and approved by such magistrate, such plea may specify the degree thereof and in such event, the defendant cannot be punished for a higher degree of the crime or attempted crime than the degree specified.
Cite this section
Cal. Penal Code § 1192.2
https://lawconsensus.com/codes/california/penal-code/1192-2/
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.