A 24-year-old gunman opened fire at two US military centers in Tennessee on Thursday, killing four Marines in a rampage that officials said was being investigated as an act of "domestic terrorism."
The shooter identified by the FBI as 24-year-old Mohammod Youssuf Abdulazeez died in a firefight with police. Three people were injured a police officer, a Marine Corps recruiter and a Navy sailor.
The incident in the city of Chattanooga served as an ugly reminder of other deadly shootings at US military installations, including a 2009 rampage at Fort Hood in Texas that left 13 dead and a 2013 attack at the Navy Yard in Washington that left 12 dead.
It also came amid fears about the threat posed by "lone wolf" attackers in the United States, though the motive in Thursday's shooting was not immediately clear.
President Barack Obama called the shootings "heartbreaking" and asked Americans to pray for the relatives of the victims.
"It is incomprehensible to see what happened and the way that individuals who proudly serve our country were treated," Chattanooga mayor Andy Berke said, praising the quick response by law enforcement to prevent further loss of life. "Today is a nightmare for the city of Chattanooga."
Bill Killian, the US federal prosecutor in that part of Tennessee, said the shootings was being treated as an "act of domestic terrorism."
"We are looking at every possible avenue — whether it was terrorism, whether it was domestic, international or whether it was a simple criminal act," FBI special agent Ed Reinhold said.
"We have no idea at this point what his motivation was behind this shooting," Reinhold said. At this point, we don't have anything that directly ties him to an international terrorist organization."
So far there has not been any indication that anyone else was involved in the shooting. US Attorney General Loretta Lynch said the FBI would take the lead in the "national security investigation of this heinous attack on members of our military."
Abdulazeez, a Muslim, lived in a leafy suburb of Chattanooga. US media reported that he was a naturalized US citizen born in Kuwait. The attack came just before the Eid al-Fitr holiday at the end of the holy Muslim fasting month of Ramadan.
Abdulazeez graduated from the University of Tennessee at Chattanooga with a degree in engineering.
"Sadly, it appears that the shooter was a 2012 graduate from UTC. Our thoughts are with those affected by today's tragedy," the university said on Twitter.
A woman who attended Red Bank High School with Abdulazeez said he was a quiet kid, and well-liked. "He was friendly, funny, kind," Kagan Wagner told the Chattanooga Times Free Press. "I never would have thought it would be him."
"They were your average Chattanooga family," Wagner said. Scott Schrader, who coached Abdulazeez in mixed martial arts, told CNN he "seemed like the all-American kid."
In an apparent blog post written Monday, Abdulazeez said Muslims should not let "the opportunity to submit to Allah… pass you by," according to the SITE Intelligence Group, which monitors extremist activity on social media.
The Marine Corps confirmed that all four victims were killed at a Navy and Marine Corps Reserve Center in the late morning. About 40 minutes earlier, the gunman had opened fire at a recruitment center several miles away.
Berke said officers had described to him a "harrowing and violent scene — bullets whizzing around them."
Investigators said Abdulazeez fired from inside his car at the recruitment center before moving to the reserve center, leaving his car and opening fire. They said an autopsy will be conducted to determine how Abdulazeez died.
Defense Secretary Ashton Carter and Navy Secretary Ray Mabus offered their condolences to the families of the victims, with Mabus calling the attacks "both devastating and senseless."
The Department of Homeland Security said it had ordered security be stepped up at "certain federal facilities, out of an abundance of caution."
Erica Wright said she witnessed the shooting at the recruiting center through the window of a hair salon two doors down.
"We heard one pop, really loud pop. So we went to the door to see what it was," Wright told CNN. "We saw a guy in a silver Mustang just unloading on the naval recruiting place."
Wright said she watched in horror as the man reloaded his gun and opened fire again. He then backed up his car, pulled up to another part of the recruiting center and started shooting again.
"We're all shook up," she said. Bullet holes could be seen in the windows of the recruiting center and shell casings littered the parking lot.
US Senator Bob Corker, a former mayor of Chattanooga, said he was "heartbroken."
"This is a difficult day for Tennesseans and our thoughts and prayers are with all affected by this tragedy," he said in a statement.
Read: Breaking News