An armed gang member who shot a New York City firefighter has died after a gunfight with police following a six-hour standoff.

Two police officials tell The Associated Press that Garland Tyree died after opening fire on officers surrounding the two-family home he barricaded himself into early Friday.

The officials weren't permitted to discuss the case ahead of a scheduled mayoral press conference and spoke on condition of anonymity.

Officials say a federal task force had attempted to arrest Tyree for violating parole when they noticed smoke coming from the Staten Island home. They say the 38-year-old then shot a responding fire lieutenant twice. He's in stable condition.

Police negotiators spoke with Tyree for hours. It wasn't immediately clear if he was killed by police or himself.