Upon the expiration of the limitations established by this Chapter, the court shall, upon motion of the defendant, dismiss the indictment. This right of dismissal is waived unless the motion to quash is made prior to trial.
If the indictment is dismissed under this article, there shall be no further prosecution against the defendant for the same or a lesser offense based on the same facts.
La. Cr.P. ยง 581