One person was killed in gunfire that erupted outside National Security Agency headquarters at Fort Meade, Md., Monday after a car carrying two men dressed as women tried to crash through a checkpoint at the base, officials say.

One of the men in the car was killed when armed security guard at the gate opened fire, a senior U.S. official told The Associated Press. ABC News reported that the other was “severely injured” and “probably won’t survive.”

An NSA official told the AP that their vehicle smashed into a police car, and that police opened fire when it refused to stop. An NSA police officer was injured in the encounter, the official said.

According to WTOP.com, one person was transported to a Baltimore trauma center.

The identities of the men involved in the shooting were not immediately released.

Aerial images from news helicopters on the scene appear to show two damaged SUVs outside the gate and a white sheet covering a body next to one of them. The footage also showed emergency workers treating a man in a uniform and loading him into an ambulance.

The FBI is investigating the shooting.

“The shooting scene is contained, and we do not believe it is related to terrorism,” FBI Baltimore said in a statement.

A U.S. official told NBC News that the incident appears to be a “local criminal matter.”

Fort Meade, a U.S. Army installation, is home to approximately 11,000 military personnel and about 29,000 civilian employees, according to its website.

Earlier this month, a man was arrested in connection with five shootings that occurred over several weeks in the Washington-Baltimore area, including one near the National Security Agency at Fort Meade. One of the spy agency's buildings was damaged in the alleged shooting spree.

Related video: