A federal immigration officer shot a man Friday morning, grazing his head, during a confrontation that followed a traffic stop and brief foot chase in southwest Denver.

U.S. Immigration and Customs Enforcement late Friday afternoon said deportation officers stopped a vehicle in Denver while “conducting a targeted arrest of an individual with a conviction for unlawful sexual contact.”

The man was wanted on two active outstanding felony warrants, Denver police said.

The suspect was arrested and transported to a hospital for treatment of injuries that were not life threatening, ICE said.

The shooting has been referred to the ICE Office of Professional Responsibility.

Denver police said Friday night that the suspect was armed with an “edged weapon,” which was recovered at the scene. No other details about the suspect were released.

Denver Police chief Robert White went to the scene of the shooting, near the intersection of West Louisiana Avenue and South Inca Street, which comes at a tense time in the relationship between ICE and Denver city officials. In a matter-of-fact letter to Mayor Michael Hancock last month, the agency said its agents will continue searching for suspects at the city’s courthouses, against local officials’ request they stop.

Denver has also warned ICE that its agents’ actions are jeopardizing public safety by creating fear among immigrants.

The shooting happened at about 8:45 a.m. after ICE agents stopped the man’s pickup truck near the intersection of West Louisiana Avenue and South Huron Street. The man got out of the truck and ran west on Louisiana before a confrontation happened about a block away and at least one shot was fired.

“What prompted the officer to take the shot is all part of the investigation,” White said.

The neighborhood is filled with industrial businesses.

Dustin Grayson, who works at Runge Tool at 1330 S. Inca St., said he heard a single gunshot.

“Four minutes later there were eight cops here,” he said. “They got here quick. There was a whole bunch.”

Danny Hankins, who also works nearby, said he heard a commotion before shots rang out.

“We heard a lot of sirens this morning,” he said. “Right after the sirens cut off we heard two or three pops.”

When he looked outside, he saw a man in handcuffs surrounded by officers. “I couldn’t see any injuries” on the handcuffed man, he said.

Investigators were focusing their attention on a late-model, red Dodge pickup truck, which remained parked in the middle of the Louisiana and Huron intersection with its driver’s side door open more than two hours after the shooting.

An unmarked Dodge Durango sport utility vehicle was parked behind the pickup, and about 100 feet to the west a pair of shoes were left lying in the middle of the street.

The suspect, who was not identified, is being held on suspicion of first degree assault to a peace officer in addition to the original outstanding warrants.