NEWPORT NEWS, Va. (WVEC) -- A man received a citation after Transportation Security Administration officers at Newport News/Williamsburg International Airport found a loaded gun and ammunition in his carry-on bag Monday.

An officer spotted the 9mm semi-automatic handgun at a checkpoint X-ray machine.

Officers contacted the Newport News Public Safety Office. Police took the gun and 17 rounds of ammunition. They cited the man from Smithfield on a state weapons charge.

Weapons are not allowed in carry-on luggage, but people can travel with them if they are packed properly in checked bags and if owners declare the weapons' presence to an airline.

Guns must be unloaded in the checked luggage, packed in a hard-side case, locked, and paced separately from ammunition.

Because firearm possession laws vary by state and locality, the TSA reminds people to familiarize themselves with the laws for each point of travel.

More information about traveling with firearms and ammunition can be found on the TSA's Web site.