Section 7. Former conviction or acquittal; double jeopardy. — When an accused has been convicted or acquitted, or the case against him dismissed or otherwise terminated without his express consent by a court of competent jurisdiction, upon a valid complaint or information or other formal charge sufficient in form and substance to sustain a conviction and after the accused had pleaded to the charge, the conviction or acquittal of the accused or the dismissal of the case shall be a bar to another prosecution for the offense charged, or for any attempt to commit the same or frustration thereof, or for any offense which necessarily includes or is necessarily included in the offense charged in the former complaint or information.
However, the conviction of the accused shall not be a bar to another prosecution for an offense which necessarily includes the offense charged in the former complaint or information under any of the following instances:
(a) the graver offense developed due to supervening facts arising from the same act or omission constituting the former charge;
(b) the facts constituting the graver charge became known or were discovered only after a plea was entered in the former complaint or information; or
(c) the plea of guilty to the lesser offense was made without the consent of the prosecutor and of the offended party except as provided in section 1 (f) of Rule 116.
In any of the foregoing cases, where the accused satisfies or serves in whole or in part the judgment, he shall be credited with the same in the event of conviction for the graver offense. (7a)
Section 8. Provisional dismissal. — A case shall not be provisionally dismissed except with the express consent of the accused and with notice to the offended party.
The provisional dismissal of offenses punishable by imprisonment not exceeding six (6) years or a fine of any amount, or both, shall become permanent one (1) year after issuance of the order without the case having been revived. With respect to offenses punishable by imprisonment of more than six (6) years, their provisional dismissal shall become permanent two (2) years after issuance of the order without the case having been revived. (n)
Section 9. Failure to move to quash or to allege any ground therefor. — The failure of the accused to assert any ground of a motion to quash before he pleads to the complaint or information, either because he did not file a motion to quash or failed to allege the same in said motion, shall be deemed a waiver of any objections based on the grounds provided for in paragraphs (a), (b), (g), and (i) of section 3 of this Rule. (8)