If there is unnecessary delay in presenting a charge to a grand jury or in filing an information against a defendant who has been held to answer to a circuit court, or if there is unnecessary delay in bringing a defendant to trial, a court may dismiss his indictment, information or complaint.

Source: SDC 1939 & Supp 1960, ยงยง 34.2201, 34.2202; SDCL, ยงยง 23-34-1, 23-34-2; SL 1978, ch 178, ยง 536.