An apparent attack at the gate of a military base in Corpus Christi, Tex., on Thursday is being investigated as a terrorist incident, officials said, warning that while the gunman was dead at the scene, a second person may be tied to the violence.

Officials say shots were fired shortly after 6 a.m. at the north gate of Naval Air Station Corpus Christi. One sailor, a security officer, was injured but is expected to survive, officials said.

The gunman, who was not immediately identified, was dead at the scene.

FBI agent Leah Greeves called the incident “terrorism-related,” adding “we may have a potential second related person of interest at large in the community, but we would encourage the public to remain calm, and if you see something, say something.”

Greeves said investigators from multiple agencies are “working like crazy” to understand exactly what happened, and said the effort and cooperation among investigators was “awesome to see.”

She said the investigation was still “fluid” and declined to provide more information while the FBI continued to gather evidence. Navy officials referred additional questions about the incident to the FBI.

The shooting comes less than a week after officials in Washington announced that an attack at a naval air station in Pensacola, Fla., last year had been carried out by a Saudi Royal Air Force trainee who had been in contact with suspected members of al-Qaeda. That attack left three service members dead and eight others injured, and the gunman was killed by law enforcement officers.

The Pensacola attack led to an overhaul of how the U.S. military screens foreign military officers who come to the United States for training. An FBI examination of the Pensacola gunman’s phones found he had been in contact with suspected terrorists since 2015, before he entered the United States.

Like Pensacola, the base in Corpus Christi includes training programs for foreign military students.

Dan Lamothe contributed to this report.