If there is unnecessary delay in presenting the charge to a grand jury or in filing an information against a defendant who has been held to answer to the district court, or if there is unnecessary delay in bringing a defendant to trial, the court may dismiss the indictment, information or complaint.
W.S. 7-11-203