Baltimore police say a man who fired at officers with an "AR-15-style" gun is dead after officers returned fire. No police were injured.

Police spokesman T.J. Smith told reporters early Friday morning that four plainclothes officers in an unmarked car heard gunfire coming from near an apartment building on the city's west side.

Smith says the officers drove toward the sound and when they arrived, they saw a man shooting an AR-15-style gun. He started firing toward them.

The officers returned fire. Smith says the suspect suffered at least one bullet wound and retreated to the apartment building.

Authorities surrounded the building and eventually found the man inside. He was taken to a hospital, where he was pronounced dead.

Smith says it's unclear why the man began shooting.

The suspect hasn't yet been identified.