(a) DEFINITIONS. For the purposes of this Section:
"Firearm" has the meaning ascribed to it in Section 1.1 of the Firearm Owners Identification Card Act.
"Qualifying predicate offense" means the following offenses under the Criminal Code of 2012:
(A) aggravated unlawful use of a weapon under Section 24-1.6 or similar offense under the Criminal Code of 1961, when the weapon is a firearm;
(B) unlawful use or possession of a weapon by a felon under Section 24-1.1 or similar offense under the Criminal Code of 1961, when the weapon is a firearm;
(C) first degree murder under Section 9-1 or similar offense under the Criminal Code of 1961;
(D) attempted first degree murder with a firearm or similar offense under the Criminal Code of 1961;
(E) aggravated kidnapping with a firearm under paragraph (6) or (7) of subsection (a) of Section 10-2 or similar offense under the Criminal Code of 1961;
(F) aggravated battery with a firearm under subsection (e) of Section 12-3.05 or similar offense under the Criminal Code of 1961;
(G) aggravated criminal sexual assault under Section 11-1.30 or similar offense under the Criminal Code of 1961;
(H) predatory criminal sexual assault of a child under Section 11-1.40 or similar offense under the Criminal Code of 1961;
(I) armed robbery under Section 18-2 or similar offense under the Criminal Code of 1961;
(J) vehicular hijacking under Section 18-3 or similar offense under the Criminal Code of 1961;
(K) aggravated vehicular hijacking under Section 18-4 or similar offense under the Criminal Code of 1961;
(L) home invasion with a firearm under paragraph (3), (4), or (5) of subsection (a) of Section 19-6 or similar offense under the Criminal Code of 1961;
(M) aggravated discharge of a firearm under Section 24-1.2 or similar offense under the Criminal Code of 1961;
(N) aggravated discharge of a machine gun or a firearm equipped with a device designed or used for silencing the report of a firearm under Section 24-1.2-5 or similar offense under the Criminal Code of 1961;
(O) unlawful use of firearm projectiles under Section 24-2.1 or similar offense under the Criminal Code of 1961;
(P) manufacture, sale, or transfer of bullets or shells represented to be armor piercing bullets, dragon's breath shotgun shells, bolo shells, or flechette shells under Section 24-2.2 or similar offense under the Criminal Code of 1961;
(Q) unlawful sale or delivery of firearms under Section 24-3 or similar offense under the Criminal Code of 1961;
(R) unlawful discharge of firearm projectiles under Section 24-3.2 or similar offense under the Criminal Code of 1961;
(S) unlawful sale or delivery of firearms on school premises of any school under Section 24-3.3 or similar offense under the Criminal Code of 1961;
(T) unlawful purchase of a firearm under Section 24-3.5 or similar offense under the Criminal Code of 1961;
(U) use of a stolen firearm in the commission of an offense under Section 24-3.7 or similar offense under the Criminal Code of 1961;
(V) possession of a stolen firearm under Section 24-3.8 or similar offense under the Criminal Code of 1961;
(W) aggravated possession of a stolen firearm under Section 24-3.9 or similar offense under the Criminal Code of 1961;
(X) gunrunning under Section 24-3A or similar offense under the Criminal Code of 1961;
(Y) defacing identification marks of firearms under Section 24-5 or similar offense under the Criminal Code of 1961; and
(Z) armed violence under Section 33A-2 or similar offense under the Criminal Code of 1961.