Prior Conviction of Defendant Charged with Possession of a Firearm by a Convicted Felon (18 U.S.C.A. Sec. 922(g)) is a federal law that prohibits anyone who has been convicted of a felony from possessing a firearm. This law applies to any person who has been convicted of a felony in any state or federal court, regardless of whether the person is in custody or has been pardoned or has had their civil rights restored. There are two types of prior convictions that fall under this federal law. The first is a felony conviction in any state or federal court that was punishable by imprisonment for more than one year. The second is a conviction in any state or federal court that was punishable by any term of imprisonment, regardless of the amount of time that was actually served. Under this law, it is illegal for anyone who has been convicted of a felony to possess a firearm in or affecting interstate or foreign commerce, including the carrying of firearms in a vehicle or on one's person. This law applies to all firearms, including shotguns, rifles, and handguns. It also applies to ammunition. Violation of this law carries a potential sentence of up to 10 years in prison.