A Center Valley man was arrested Wednesday morning for having a loaded pistol in his carry-on bag at Newark Liberty International Airport, authorities said.

The man, whose name was not released, was charged with New Jersey firearms violations.

The .25 caliber handgun was loaded with seven bullets, and two additional loaded magazines were with the pistol, the Transportation Safety Administration said.

The TSA said one of its officers noticed the gun as the man’s bag passed through an airport X-ray checkpoint.

The TSA immediately contacted the Port Authority Police Department, which confiscated the gun and arrested the man.

According to the TSA, even with concealed-carry permits, gun owners are not allowed to carry their firearms past airport checkpoints or onto airplanes.

“Passengers are permitted to travel with firearms in checked baggage if they are unloaded, packed in a hard-side case, locked and packed separately from ammunition,” the TSA said. “Ammunition must be in its original box.”

Before boarding, passengers should go to the airline check-in counter to tell the airline representative of any plans to travel with a gun.

The man was the second traveler stopped at Newark airport this month. A .38 caliber handgun was found at a checkpoint on Feb. 1, the TSA said.