When the defendant shall have been convicted or acquitted upon an indictment or information, the conviction or acquittal is a bar to another indictment or information for the offense charged in the former, or for an attempt to commit the same, or for an offense necessarily included therein, of which he might have been convicted under that indictment or information.
Okla. Stat. tit. 22, § 522