Alabama Code Title 13A. Criminal Code § 13A-5-6
(a) Sentences for felonies shall be for a definite term of imprisonment, which imprisonment includes hard labor, within the following limitations:
…
(2) For a Class B felony, not more than 20 years or less than 2 years.