Penal Code § 1001.36(h)
(h) If the defendant has performed satisfactorily in diversion, at the end of the period of diversion, the court shall dismiss the defendant’s criminal charges that were the subject of the criminal proceedings at the time of the initial diversion. A court may conclude that the defendant has performed satisfactorily if …