A man flying out of New Jersey was caught by authorities after trying to bring a sword onboard his flight.

The unnamed man was at Newark Liberty International Airport for a flight from New Jersey to Sao Paolo, Brazil. He was passing through an airport terminal with a large box to pass through security checking carry-on items. Transportation Security Administration agents opened the box to discover the man was traveling armed with a large sword in the box as it passed through x-ray.

“He said he thought he could travel with it as a carry-on item because of its value,” TSA spokeswoman Lisa Farbstein wrote on Twitter. The post was accompanied by a picture of the sword at the airport.

The man was promptly taken to the side by TSA agents.

Under official TSA policy, no weapons are allowed to be carried on-board a plane as a carry-on item. However, blades are allowed to be transported so long as it’s in a checked bag. The policy reads that all “sharp objects in checked baggage should be sheathed or securely wrapped to prevent injury to baggage handlers and inspectors.”

After the failed carry-on, the man took the sword back to check-in and followed proper protocols TSA outlined to him.

This wasn’t the only instance where a passenger tried bringing a weapon onto a flight in 2019. Two servicemen traveling through Baltimore/Washington International Thurgood Marshall Airport over the summer tried bringing a rocket launcher home. Another person passing through Newark in January tried carrying a golden grenade through check-in.