Penal Code § 1386
CHAPTER 8. Dismissal of the Action for Want of Prosecution or Otherwise
The entry of a nolle prosequi is abolished, and neither the Attorney General nor the district attorney can discontinue or abandon a prosecution for a public offense, except as provided in Section 1385.