MIAMI (AP) — An American Airlines flight from New York to the Dominican Republic made an unscheduled stop after a passenger handed over a gun he said he had unintentionally brought on board.

Federal Aviation Administration spokeswoman Kathleen Bergen said the man gave the gun to the flight crew without incident Tuesday.

"He advised the crew he forgot he had it, and voluntarily surrendered the gun to the flight crew, and the crew elected to divert to Miami," she said.

Bergen said she did not know the name of the passenger or if he was arrested or charged in the incident.