(AP) — Generally, foreigners are not allowed to buy guns in the United States. But there are exceptions written into federal law, which may explain how the Saudi flight student who shot three servicemen to death at the Pensacola naval base was able to buy a weapon.
For example, a foreigner who manages to obtain a state hunting license and can show proof of residency in that state can legally buy a gun.
"It seems every day we find a new loophole," said Adam Winkler, a professor at the University of California, Los Angeles, School of Law and an expert on gun laws and politics.
Authorities have not disclosed how 21-year-old Mohammed Alshamrani, a Royal Saudi Air Force officer undergoing months of flight training at the Florida military base, obtained the Glock 9 mm handgun he used in the attack Friday that ended when he was killed. But the FBI said it was bought legally in Florida.
In the aftermath of the rampage, which the FBI is treating as a terrorist attack, Florida Gov. Ron DeSantis questioned whether foreigners should be allowed to buy guns. The Republican governor said he supports the Second Amendment but that it "does not apply to Saudi Arabians."
Law enforcement officials from nations friendly to the United States who are here on official business as well as foreigners who have entered the U.S. through the visa waiver program are among those exempted from the laws against foreigners buying guns.
In Florida, like many other states, foreigners and nonresidents can buy a hunting license. Getting one requires no background check, and can be done online. With that license in hand, a foreigner can buy a guy, if he can show the dealer proof that he or she is living in the state.
It is at that point that the person would have to undergo a background check.
There have been instances of foreigners exploiting U.S. gun laws. In 2017, more than half a dozen Chinese students at the University of Arizona obtained hunting licenses and then bought guns. In that case, it did not appear to be for nefarious purposes but out of a desire to do something not allowed in their home country: possess a gun.
Also that year, a Canadian man intent on carrying out an attack at the Flint, Michigan, airport twice tried to buy a weapon at a gun show, expecting it would not require a background check. When that failed, he bought a knife and used it in an attack at the airport that injured two people.
The attacker, who was born in Tunisia and traveled to the United States with a Canadian passport, was sentenced to life in prison. At his sentencing, he told the judge: "Do I regret what I did? Never. I regret I didn't get that machinegun. I regret I didn't kill that cop."
UCLA's Winkler said these cases, underscored by the Pensacola attack, expose failings in U.S. gun laws.
"Terrorists see our lax gun laws as an opening for terrorist attacks, that they don't need to use bombs, they don't need to commit suicide and blow themselves up. All they need to do is come to America and have easy access to guns," he said.
Gun rights supporters said there are valid reasons for allowing foreigners to buy guns for hunting. Just as Americans travel overseas to hunt big game, foreigners are keen to travel to the United States to bag animals that don't exist in their home countries.
"There is a vibrant hunting industry that happens here in the United States," said Mark Oliva, spokesman for the National Shooting Sports Foundation. "There are species that are iconic to North America."
That said, the NSSF, which represents the gun industry, said it is trying to find out more about how Alshamrani got his gun and whether any laws were broken when he did so.
Obtaining the hunting license would not guarantee a foreigner a gun; buying one would still require demonstrating valid residency and passing a background check.
Still, gun-control advocates suggest there are limits to what a background check might flag when looking into the past of a foreigner. In the United States, people prohibited from buying a gun include felons, domestic abusers, substance abusers and those involuntarily committed to a mental institution.
"Obviously, our background check system is largely not going to pick up criminal histories from abroad," said David Chipman, a retired agent with the Bureau of Alcohol, Tobacco, Firearms and Explosives who is a senior policy adviser with Giffords, the gun-control group.
"There are obviously loopholes in our gun laws," he said. "We live in a country where the priority is easy access to the sale of guns because of a powerful lobby that has set it up that way because they want to profit from it."