In the messages posted on her Instagram account, Brinsley had said he was "putting wings on pigs". He then referred to Eric Garner and Michael Brown, two unarmed black men whose deaths at the hands of police have sparked national protests, and added: "Let's take two of theirs." The New York Times said Brinsley, who had ties to East Flatbush, near the scene of the killing, had most recently spent time in Georgia and Ohio.
Brinsley had at least 19 arrests and had a troubled childhood so violent that his mother was afraid of him, police said. He expressed "self-despair and anger at himself and where his life was", Boyce said. Brinsley's mother believed he had undiagnosed mental problems.
His criminal record showed no acts of serious violence but indicated he was arrested for robbery in Ohio in 2009 and weapons possession in Georgia. Later that year, he was convicted of gun possession in Georgia, and sentenced to two years in prison. Officials believe Brinsley was in New York as recently as 2011 when he was a suspect in a harassment case.
The newspaper said that Brinsley's sister, Nawaal Brinsley, said she had not seen her brother in two years. "Oh my goodness, oh my goodness," she said when told of the attack. She said she did not remember hearing her brother express anger at the police.
Some media in New York had said that Brinsley may have been a member of the Black Guerrilla Family (BGF), a gang originally formed inside Californian jails in the late 1960s and which has more recently been active in Baltimore. This month it was reported the BGF had vowed to kill police officers.
The Baltimore Sun said that the Baltimore office of the FBI had on Saturday issued an alert warning that the BGF was targeting "white cops" in Maryland. However, the newspaper also said that a federal law enforcement official had said Brinsley had no known ties to the BGF.
Watch: Bratton: NYC cops 'quite simply, assassinated'
The killing of the officers comes at a time of widespread public protest over the treatment of a series of black suspects who have died at the hands of police. In New York the daily protests have followed a decision not to prosecute a police officer who placed an unarmed black man, Eric Garner, into a so-called choke hold, a move that resulted in the 46-year-old's death.
The decision followed shortly after an announcement in Ferguson, Missouri, that the policeman who shot and killed teenager Michael Brown would not not face charges.
In New York in particular, the developments have created a tension in the relationship between police and some members of the public that analysts say has not existed for many years. Mayor Bill de Blasio has faced criticism from members of the New York Police Department for allegedly not sufficiently supporting officers.
In the aftermath of the shooting, the main police union, the Patrolmen's Benevolent Association, directly blamed de Blasio for the deaths.
When de Blasio left the hospital where officials had held a press conference, police officers turned their backs on him.
The two officers were Wenjin Liu, 32, and 40-year-old Rafael Ramos, who was married with a 13-year-old son.
- Independent, AP