There are various ways to get a case dismissed in San Diego County. The first is convincing the prosecutor that the evidence does not overcome the “beyond a reasonable doubt” burden; most of the time, this requires investigation to show that the facts are not what they originally appeared to be when the case was first filed.
A second way to convince a prosecutor to dismiss the criminal charges is to provide additional information showing that there was a lawful defense, e.g. self-defense, defense of others, or even legal necessity.
Thirdly, there are statutory programs that allow your criminal defense attorney to file a program requesting diversion. Generally, a diversion program suspends/puts on hold criminal proceedings and requires the defendant to complete certain tasks. If successful, the case will be dismissed- meaning that no criminal conviction will show up on any record or background check. Some of the diversion programs include mental health diversion, military diversion and court-initiated/judicial diversion.
A fourth way to get a case dismissed is to file a motion to suppress evidence, challenging the way in which police obtained the evidence being used to prosecute you. If a judge agrees that the evidence was obtained illegally, i.e. unconstitutionally, that evidence will be “suppressed” and can no longer be used by the prosecution. If that evidence is critical to their case and it’s gone, that means the prosecution can no longer prove their case anymore and they will be forced to dismiss.
A fifth way for a criminal case to be dismissed is to convince a judge to dismiss a case. A judge is given authority to dismiss a case if doing so is in the interests of justice. This is the least common way to get a case dismissed because judges don’t usually want to interfere with the criminal justice process.