Appeal from the Circuit Court of Cook County. No. 01 CR 3679 Honorable Leo E. Holt, Judge Presiding.
 The opinion of the court was delivered by: Justice Theis
 Following a bench trial, defendant Darnell Kelly was convicted of unlawful possession of a weapon by a felon and sentenced to three years in prison. His sole contention on appeal is that the sentence violates the proportionate penalties clause of the Illinois Constitution (Ill. Const. 1970, art. I, §11). For the following reasons, we find no constitutional defects in the statute.
 At trial, the State presented the testimony of Chicago police officer Louis Mahaffey which established that on January 17, 2001, Mahaffey approached defendant while he was standing on a sidewalk at 209 North Leamington Street in Chicago with three other people. Mahaffey saw defendant take a dark item out of his left jacket pocket and throw it on the ground. Mahaffey retrieved the object, a loaded, bluesteel .38-caliber handgun. Defense counsel stipulated that defendant had previously been convicted of armed robbery. Defendant denied any knowledge of the gun. The trial court found him guilty of unlawful use of a weapon by a felon (UUW by a felon) in that he knowingly possessed a handgun after having been previously convicted of the offense of armed robbery pursuant to section 24-1.1(a) of the Criminal Code of 1961 (the Code) (720 ILCS 5/24-1.1(a) (West 2000)). His sentence was enhanced to a Class 2 felony with a term of 3 to 14 years because the armed robbery conviction was a forcible felony. 720 ILCS 5/24-1.1(e) (West 2000). Defendant was ultimately sentenced to three years in prison.
 Defendant contends that the sentencing range provided in section 24-1.1 for the offense of UUW by a felon as enhanced to a Class 2 felony violates the proportionate penalties clause of the Illinois Constitution. A statute is presumed to be constitutional, and the party challenging a statute bears the burden of establishing its invalidity. People v. Graves, 207 Ill. 2d 478, 482, 800 N.E.2d 790, 792 (2003).
 This court has an obligation to construe a statute in such a manner as to uphold its constitutionality if it is reasonable to do so. Whether the statute is constitutional will be reviewed de novo. Graves, 207 Ill. 2d at 482, 800 N.E.2d at 792.
 Article I, section 11, of the Illinois Constitution, commonly referred to as the proportionate penalties clause, provides in pertinent part that "[a]ll penalties shall be determined * * * according to the seriousness of the offense." Ill. Const. 1970, art. I, §11. Our supreme court has held that the proportionate penalties clause can be violated in one of three instances, namely, where: (1) the penalty for an offense is cruel, degrading, or so completely disproportionate to the offense for which it is imposed as to shock the moral sense of the community; (2) similar offenses are compared and conduct that creates a less serious threat to public health and safety is punished more severely; and (3) the penalties imposed for identical offenses differ. People v. Moss, 206 Ill. 2d 503, 522, 795 N.E.2d 208, 220 (2003).
 In the present case, defendant asserts a violation of the second type. He argues that the penalty for the Class 2 felony offense of UUW by a felon (3 to 14 years) is harsher than that imposed for the Class 2 felony offense of aggravated UUW where the offender has a prior forcible felony conviction (3 to 7 years), which defendant maintains is a similar but more serious offense. When a defendant raises a challenge of this type, the court must apply a two-step cross-comparison analysis of the two statutes. Moss, 206 Ill. 2d at 522, 795 N.E.2d at 220. First, the court must consider whether the offenses being compared share a common statutory purpose. If the offenses do not have common or related purposes, a comparative proportionality review is inappropriate; when statutes defining criminal offenses are enacted for different purposes, we will presume that the legislature considered different factors in determining the appropriate penalties for the offenses and will defer to its judgment in this regard. If, however, the purposes of the two offenses are related, the court must then determine whether the offense with the harsher penalty is more serious than the offense with the lesser penalty. Moss, 206 Ill. 2d at 523, 795 N.E.2d at 221.
 Accordingly, we begin our analysis by examining the legislative purpose in enacting UUW by a felon and aggravated UUW and their respective sentence enhancements. Defendant maintains that the two statutes share a common purpose, namely to protect the public from the misuse of firearms.
 Section 24-1.1(a) of the Code makes it "unlawful for any person to knowingly possess on or about his person or on his land or in his own abode or fixed place of business any weapon prohibited under Section 24-1 of this Act or any firearm or firearm ammunition if the person has been convicted of a felony under the laws of this state or any other jurisdiction." 720 ILCS 5/24-1.1(a) (West 2000). The penalty imposed for such an offense is a Class 3 felony with a sentencing range of 2 to 10 years' imprisonment. 720 ILCS 5/24-1.1(e) (West 2000). However, the legislature has further provided by a recent amendment (Pub.Act 91-544, eff. January 1, 2000) that where the offender has committed a forcible felony, the penalty is enhanced to a Class 2 felony with a sentencing range of 3 to 14 years. 720 ILCS 5/24-1.1(e) (West 2000).
 The legislature did not explicitly state its purpose in enacting section 24-1.1 or the amendment thereto; however, the plain language of the statute is the best indicator of legislative intent. People v. Koppa, 184 Ill. 2d 159, 169, 703 N.E.2d 91, 97 (1998). The plain language of section 24-1.1 reveals that the legislature's intent was to keep dangerous weapons, including but not limited to firearms, out of the hands of convicted felons in any situation whether it be in the privacy of their own home or in a public place. See People v. Carmichael, 343 Ill. App. 3d 855, 799 N.E.2d 401 (2003); People v. Jackson, 269 Ill. App. 3d 851, 646 N.E.2d 1299 (1995). In addition, the legislature intended to impose a harsher penalty for those felons in possession of a weapon when they have committed a forcible felony in the past because they necessarily had a history of using or threatening physical force or violence against another individual. 720 ILCS 5/ 24-1.1(e), 2-8 (West 2000).
 Section 24-1.6 of the Code provides in pertinent part that a person commits the offense of aggravated UUW when he knowingly:
 "(1) Carries on or about his or her person or in any vehicle or concealed on or about his or her person except when on his or her land or in his or her abode or fixed place of business any ...