Getting your Trinity Audio player ready...

One person was in custody Tuesday night after someone fired shots at police who were investigating a homicide from earlier in the day in the West Garfield Park neighborhood, authorities said.

Shots were fired at police near 4100 W. West End Ave. about 5:45 p.m., said Anthony Guglielmi, a police spokesman. Some of the officers who were attacked were detectives who were investigating the fatal shooting of a 24-year-old man Tuesday morning near Keeler Avenue and Madison Street.

Officers were fired upon but did not return fire, with a police vehicle being hit, Guglielmi said.

Police were investigating whether the officers were targeted because they were police officers, Guglielmi said.

A .380-caliber handgun was taken into evidence by police after seven shots were fired at officers, with two hitting a police car, a source said.

Check back for updates.