Alaska Stat. § 12.55.125
(a) A defendant convicted of murder in the first degree or murder of an unborn child under AS 11.41.150(a)(1) shall be sentenced to a definite term of imprisonment of at least 30 years but not more than 99 years. A defendant convicted of murder in the first degree shall be sentenced to a mandatory term of imprisonment of 99 years when
(2) the defendant has been previously convicted of
(c) Except as provided in (i) of this section, a defendant convicted of a class A felony may be sentenced to a definite term of imprisonment of not more than 20 years, and shall be sentenced to a definite term within the following presumptive ranges, subject to adjustment as provided in AS 12.55.155 — 12.55.175:
(2) if the offense is a first felony conviction
(B) and the conviction is for manufacturing related to methamphetamine under AS 11.71.021(a)(2)(A) or (B), seven to 11 years if
(d) Except as provided in (i) of this section, a defendant convicted of a class B felony may be sentenced to a definite term of imprisonment of not more than 10 years, and shall be sentenced to a definite term within the following presumptive ranges, subject to adjustment as provided in AS 12.55.155 — 12.55.175:
(2) if the offense is a first felony conviction,
(B) two to four years if the conviction is for attempt, solicitation, or conspiracy to manufacture related to methamphetamine under AS 11.31 and AS 11.71.021(a)(2)(A) or (B), and
(e) Except as provided in (i) of this section, a defendant convicted of a class C felony may be sentenced to a definite term of imprisonment of not more than five years, and shall be sentenced to a definite term within the following presumptive ranges, subject to adjustment as provided in AS 12.55.155 — 12.55.175:
(f) If a defendant is sentenced under (a) or (b) of this section,
(g) If a defendant is sentenced under (c), (d), (e), or (i) of this section, except to the extent permitted under AS 12.55.155 — 12.55.175,
(i) A defendant convicted of
(1) sexual assault in the first degree under AS 11.41.410(a)(1)(A), (2), (3), or (4), sexual abuse of a minor in the first degree, unlawful exploitation of a minor under AS 11.41.455(c)(2), or sex trafficking in the first degree under AS 11.66.110(a)(2) may be sentenced to a definite term of imprisonment of not more than 99 years and shall be sentenced to a definite term within the following presumptive ranges, subject to adjustment as provided in AS 12.55.155 — 12.55.175:
(A) if the offense is a first felony conviction, the offense does not involve circumstances described in (B) of this paragraph, and the victim was
(2) sexual assault in the first degree under AS 11.41.410(a)(1)(B), unlawful exploitation of a minor under AS 11.41.455(c)(1), enticement of a minor under AS 11.41.452(e), or attempt, conspiracy, or solicitation to commit sexual assault in the first degree under AS 11.41.410(a)(1)(A), (2), (3), or (4), sexual abuse of a minor in the first degree, or sex trafficking in the first degree under AS 11.66.110(a)(2) may be sentenced to a definite term of imprisonment of not more than 99 years and shall be sentenced to a definite term within the following presumptive ranges, subject to adjustment as provided in AS 12.55.155 — 12.55.175:
(A) if the offense is a first felony conviction, the offense does not involve circumstances described in (B) of this paragraph, and the victim was
(3) sexual assault in the second degree, sexual abuse of a minor in the second degree, enticement of a minor under AS 11.41.452(d), indecent exposure in the first degree under AS 11.41.458(b)(2), distribution of child sexual abuse material under AS 11.61.125(e)(2), patron of a victim of sex trafficking under AS 11.66.137, or attempt, conspiracy, or solicitation to commit sexual assault in the first degree under AS 11.41.410(a)(1)(B) may be sentenced to a definite term of imprisonment of not more than 99 years and shall be sentenced to a definite term within the following presumptive ranges, subject to adjustment as provided in AS 12.55.155 — 12.55.175:
(4) sexual assault in the third degree, sexual abuse of a minor in the third degree under AS 11.41.438(c), incest, indecent exposure in the first degree under AS 11.41.458(b)(1), indecent viewing or production of a picture under AS 11.61.123(g)(1) or (2), possession of child sexual abuse material, distribution of child sexual abuse material under AS 11.61.125(e)(1), patron of a victim of sex trafficking under AS 11.66.137, or attempt, conspiracy, or solicitation to commit sexual assault in the second degree, sexual abuse of a minor in the second degree, unlawful exploitation of a minor, distribution of child sexual abuse material, or patron of a victim of sex trafficking under AS 11.66.137 , may be sentenced to a definite term of imprisonment of not more than 99 years and shall be sentenced to a definite term within the following presumptive ranges, subject to adjustment as provided in AS 12.55.155 — 12.55.175:
(l) Notwithstanding any other provision of law, a defendant convicted of an unclassified or class A felony offense, and not subject to a mandatory 99-year sentence under (a) of this section, shall be sentenced to a definite term of imprisonment of 99 years when the defendant has been previously convicted of two or more most serious felonies. If a defendant is sentenced to a definite term under this subsection,