BALTIMORE (AP) — Baltimore police say officers responding to gunshots near an apartment building fatally shot a man who fired at them with an "AR-15-style" weapon, and no officers were wounded.

Police spokesman T.J. Smith said it's unclear why the man began shooting late Thursday, adding no one came forward to say they were being "shot at." Authorities didn't immediately identify the man.

Smith said early Friday that four plainclothes officers in an unmarked car heard gunfire coming from the building on the city's west side Thursday night. He says officers drove toward the sound and when they arrived, they saw a man shooting an "AR15-style" gun.

Smitth says the man started firing toward the officers, and two returned fire with the suspect being struck at least once.