23-year-old Abdoulaye Barry was charged with unlawful use of a weapon, aggravated concealment of a weapon, possession of ammunition without a valid FOID card and failure to possess a FOID card. Barry was arrested Wednesday night.
The gun was checked in during a flight. Police say the gun ended up in a Walgreens bag that was in Barry's pants pocket.
Barry is expected to appear in court Friday.