0829 GMT July 27 2017
Esteban Santiago, 26, who was taken into custody immediately following the shooting and questioned at length, was expected to face federal charges in the shooting rampage, said George Piro, special agent in charge of the Federal Bureau of Investigation's office in Miami, Reuters reported.
Piro said investigators had not ruled out terrorism as a possible motive in the rampage and were reviewing the suspect's recent travel.
Santiago had arrived in Ft. Lauderdale shortly before 1 p.m. local time (1800 GMT) on a connecting flight from Alaska, authorities said, when he retrieved a 9mm semiautomatic handgun from his checked luggage and began firing indiscriminately.
Broward County Commissioner Chip LaMarca said that the gunman went into a restroom to load his weapon and came out firing. Witnesses said he only stopped after running out of ammunition, at which point he surrendered to police.
In addition to the five killed, eight others were wounded by gunfire and some three dozen were taken to local hospitals with bruises or broken bones suffered in the chaos surrounding the shooting massacre.
Piro said that Santiago had turned up at an FBI office in Anchorage in November of last year behaving erratically and was turned over to local police, who took him to a medical facility for a mental evaluation.
A federal law enforcement official said that Santiago told agents at the Anchorage office in November that his mind was being controlled by a US intelligence agency, which was ordering him to watch Daesh videos.
Santiago served from 2007 to 2016 in the Puerto Rico National Guard and Alaska National Guard including a deployment to Iraq from 2010 to 2011, according to the Pentagon.
A private first class and combat engineer, he received half a dozen medals before being transferred to the inactive ready reserve in August last year.
An aunt said he came back from his deployment "a different person," MSNBC reported.
Flying with firearms is routine and legal in the United States as long as the guns are kept in a locked, hard-sided container as checked baggage only. Ammunition is prohibited in carry-on bags but is allowed in checked luggage.