This is an archived article that was published on sltrib.com in 2014, and information in the article may be outdated. It is provided only for personal research purposes and may not be reprinted.

New York • A gunman who announced online that he was planning to shoot two "pigs" in retaliation for the police chokehold death of Eric Garner ambushed two officers in a patrol car and shot them to death in broad daylight Saturday before running to a subway station and killing himself, authorities said.

The suspect, Ismaaiyl Brinsley, 28, wrote on an Instagram account: "I'm putting wings on pigs today. They take 1 of ours, let's take 2 of theirs," officials said. He used the hashtags Shootthepolice RIPErivGardner (sic) RIPMikeBrown.

Police said he approached the passenger window of a marked police car and opened fire, striking Officers Rafael Ramos and Wenjian Liu in the head. The officers were on special patrol doing crime reduction work in the Bedford-Stuyvesant section of Brooklyn. Brinsley was black; the officers were Asian and Hispanic, police said.

"They were, quite simply, assassinated — targeted for their uniform," said Police Commissioner William Bratton.

Brinsley took off running as officers pursued him down to a nearby subway station where he shot himself in the head. A silver handgun was recovered at the scene, Bratton said.

"This may be my final post," he wrote in the Instagram post that included an image of a silver handgun.

Bratton confirmed that Brinsley made very serious "anti-police" statements online but did not get into specifics of the posts. He said they were trying to figure out why he had chosen to kill the officers. Two city officials with direct knowledge of the case confirmed the posts to The Associated Press. The officials, a senior city official and a law enforcement official, spoke on condition of anonymity.

The Rev. Al Sharpton said Garner's family had no connection to Brinsley and denounced the violence. "Any use of the names of Eric Garner and Michael Brown in connection with any violence or killing of police, is reprehensible and against the pursuit of justice in both cases," Sharpton said. "We have stressed at every rally and march that anyone engaged in any violence is an enemy to the pursuit of justice for Eric Garner and Michael Brown."

Police in New York are being criticized for their tactics after the July death of Garner, who was stopped on suspicion of selling loose, untaxed cigarettes. Amateur video captured an officer wrapping his arm around Garner's neck and wrestling him to the ground. Garner was heard gasping, "I can't breathe" before he lost consciousness and later died. Demonstrators around the country have staged die-ins and other protests since a grand jury decided Dec. 3 not to indict the officer in Garner's death, a decision that closely followed a Missouri grand jury's refusal to indict a white officer in the fatal shooting of Brown, an unarmed black 18-year-old.

Early Saturday, Bratton said, Brinsley went to the home of a former girlfriend in the Baltimore area and shot and wounded her. Police there said they noticed Brinsley posting to the woman's Instagram account about a threat to New York officers. Baltimore-area officials sent a warning to New York City police, who received it around the time of the shooting, Bratton said.