12021. (a) (1) Any person who has been convicted of a felony under
the laws of the United States, the State of California, or any other
state, government, or country or of an offense enumerated in
subdivision (a), (b), or (d) of Section 12001.6, or who is addicted
to the use of any narcotic drug, and who owns, purchases, receives,
or has in his or her possession or under his or her custody or
control any firearm is guilty of a felony.
(2) Any person who has two or more convictions for violating
paragraph (2) of subdivision (a) of Section 417 and who owns,
purchases, receives, or has in his or her possession or under his or
her custody or control any firearm is guilty of a felony.
(b) Notwithstanding subdivision (a), any person who has been
convicted of a felony or of an offense enumerated in Section 12001.6,
when that conviction results from certification by the juvenile
court for prosecution as an adult in an adult court under Section 707
of the Welfare and Institutions Code, and who owns or has in his or
her possession or under his or her custody or control any firearm is
guilty of a felony.