A 20-year-old man was shot to death Monday by a federal agent serving a warrant at a west side Detroit home.

The man, whose name was not released, was wanted on armed robbery and weapons charges, U.S. Immigration and Customs Enforcement spokesman Khaalid Walls said in a statement.

Members of the Detroit Fugitive Apprehension Team were allowed into the home shortly after 1 p.m. Monday, Detroit Police Chief James Craig told reporters.

"I'm also told the agent may have been faced with a threat and it was at that point that he decided to use deadly force," Craig said.

The man was pronounced dead at an area hospital.

Walls said the agent, whose name also has not been released, is an ICE Enforcement and Removal Operations officer.

"Any time an ICE officer or special agent discharges their firearm in the line of duty, the ICE Office of Professional Responsibility reviews the matter," said Walls.

People from the neighborhood gathered outside the house after the shooting. Several jostled momentarily with officers and others openly wept, according to video broadcast on local media.

Craig said his police department also would investigate the shooting by the ICE agent.

"It's a tragedy. I'm committed that we get to the truth," he said.

No members of the law enforcement task force trying to serve the warrant were hurt.

The shooting in Detroit follows a number of fatal shootings by law enforcement officers in other cities. Marches, disturbances and even violence followed last summer's shooting death of black 18-year-old Michael Brown by a white Ferguson, Missouri, police officer.

Rioters in Baltimore torched a pharmacy, set police cars on fire and threw bricks at officers following the funeral Monday for Freddie Gray, who died earlier this month in police custody there.