When a defendant has been convicted or acquitted upon an indictment for an offense consisting of different degrees, the conviction or acquittal shall be a bar to another indictment for the same offense charged in the former or for any lower degree of that offense, or for an offense necessarily included therein.
Iowa Code § 816.2