When the defendant is convicted or acquitted of a crime consisting of different degrees, the conviction or acquittal is a bar to another prosecution for the crime charged in the former or for any inferior degree of that crime, or for an attempt to commit that crime, or for an offense necessarily included in the crime of which the defendant might have been convicted under the information, indictment, or complaint.
AS 12.20.040