California Penal Code § 1378
Text of § 1378
If the person injured appears before the court in which the action is pending at any time before trial, and acknowledges that he has received satisfaction for the injury, the court may, in its discretion, on payment of the costs incurred, order all proceedings to be stayed upon the prosecution, and the defendant to be discharged therefrom; but in such case the reasons for the order must be set forth therein, and entered on the minutes. The order is a bar to another prosecution for the same offense.
Cite this section
Cal. Penal Code § 1378
https://lawconsensus.com/codes/california/penal-code/1378/
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.