Cal. PEN § 1165

This is the official text of Cal. PEN § 1165, part of California’s Penal Code — defines crimes and sets criminal procedure in California.

Not legal advice. This page reproduces the official text of a government statute for reference only. Laws change, and how a statute applies depends on your specific facts. For advice about your situation, consult a licensed attorney in your state.

Official statutory text

Where a general verdict is rendered or a finding by the court is made in favor of the defendant, except on a plea of not guilty by reason of insanity, a judgment of acquittal must be forthwith given. If such judgment is given, or a judgment imposing a fine only, without imprisonment for nonpayment is given, and the defendant is not detained for any other legal cause, he must be discharged, if in custody, as soon as the judgment is given, except that where the acquittal is because of a variance between the pleading and the proof which may be obviated by a new accusatory pleading, the court may order his detention, to the end that a new accusatory pleading may be preferred, in the same manner and with like effect as provided in Section 1117.

Status: in_force · Read it on the official government site

About this page: Statute text is reproduced from official government publishers via the Open US Law dataset (Vaquill AI, snapshot v2026.08, CC BY 4.0). Primary legislative text like this is public domain under the government-edicts doctrine (Georgia v. Public.Resource.Org, 2020). We link every section back to its official source so you can verify it independently.