California Penal Code § 1384
Text of § 1384
If the judge or magistrate directs the action to be dismissed, the defendant must, if in custody, be discharged therefrom; or if admitted to bail, his bail is exonerated, or money deposited instead of bail must be refunded to him or to the person or persons found by the court to have deposited said money on behalf of said defendant.
Cite this section
Cal. Penal Code § 1384
https://lawconsensus.com/codes/california/penal-code/1384/
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.