The Saudi navy shooter may have taken to Twitter just before opening fire at the Pensacola naval base, according to the FBI.
A post made from an account similar to the shooter's name blasted the U.S. for its support of Israel and stated America was anti-Muslim.
The FBI confirmed that they are operating under the assumption that the attack, which left three dead, was an act of terrorism.
The federal agency is also trying to establish if the shooter acted alone, or was part of a larger plot.
2nd Lt. Mohammed Alshamrani, 21, of the Royal Saudi Air Force was killed by a sheriff's deputy at the Pensacola naval base.
This undated photo provided by the FBI shows Mohammed Alshamrani. The Saudi student opened fire inside a classroom at Naval Air Station Pensacola on Friday before one of the deputies killed him.
This undated photo provided by the FBI shows Mohammed Alshamrani. The Saudi student opened fire inside a classroom at Naval Air Station Pensacola on Friday before one of the deputies killed him.
Alshamrani was part of a foreign service member training program and was undergoing flight training.
"There are a number of Saudi students who are close to the shooter and continue to cooperate in this investigation," Rojas said. "The Saudi government has pledged to fully cooperate with our investigation."
While speaking at a news conference Sunday afternoon, Florida Gov. Ron DeSantis said the gunman had a social media trail and a "deep-seated hatred of the United States."
DeSantis said better vetting could have stopped such an attack.
"You have to take precautions" to protect the nation, DeSantis said.
"To have this individual be able to take out three of our sailors, to me that's unacceptable," the governor added.
Alshamrani used a 9mm handgun which he legally bought in Florida. DeSantis called the federal law which allows foreigners to buy guns in the U.S. a "federal loophole," and that the Second Amendment, "does not apply to Saudi Arabians."