ATLANTA (AP) — Police say a man accused of accidentally firing a gun in his bag at the Atlanta airport has turned himself in.

Police say 42-year-old Kenny Wells was waiting at a security checkpoint Nov. 20 when his bag was pulled aside for a secondary check.

Police say he lunged into his bag and grabbed a gun, causing it to fire.

Wells then fled with the gun, which was later found in an airport trashcan. Police said Tuesday that Wells had turned himself in to the Clayton County jail.

The discharge of the gun caused temporary chaos and prompted a temporary ground stop on flights.