Even though most cases resolve by plea bargain, the best plea bargains are obtained when the prosecutor knows the defense lawyer is ready, willing, and able to go to jury trial. I have tried 40 criminal cases to juries ranging from simple misdemeanors to serious, multi-count felony trials. In 28 of those 40 trials, the state has failed to convict on even a single count or I obtained favorable outcomes better than the state's pretrial plea offer. Below are the details of those 28 trials, with the most recent listed first.
In some cases, a defense lawyer may be able to get your charges dismissed before trial. For example, I won the dismissal of a child abuse case by proving that the prosecutor inserted false information into the complaint; I won the dismissal of three different child sexual assault cases by demonstrating that the complaints were too vague to satisfy my clients’ due process rights; I won the dismissal of a theft by false representation case by showing that the state violated my client's interstate speedy trial right; I won the dismissal of a theft by employee case by demonstrating that the state violated my client's right against successive prosecutions; and I won the dismissal of two drug cases by proving that the police obtained the evidence in violation of the Fourth Amendment.
I have also won the dismissal of numerous cases by demonstrating that the complaints failed the "probable cause" standard, i.e., the prosecutor didn't even have the necessary allegations, let alone evidence, to charge my client. These dismissals include felony cases of drug possession, stalking-domestic abuse, failure to protect a child from sexual assault, intimidation of a victim (twice), child pornography possession, welfare fraud, forgery, theft of property (twice), and identity theft.
Keep in mind that every case is different and every client is unique. Just because a lawyer has obtained a dismissal, a good plea bargain, or a good trial outcome in one case does not mean that he or she will be able to obtain the same results in your case.