An attorney can often negotiate with the prosecutor for reduced or dismissed charges based on the facts of the case.