Two New York City police officers have been killed by a lone gunman as they sat in their parked patrol car in broad daylight.

Both officers were shot in the head in the Bedford-Stuyvesant neighbourhood of Brooklyn by the suspect, who has been named as Ismaaiyl Brinsley.

Police Commissioner William Bratton identified the two officers as Liu Wenjin, 32 and Raphael Ramos, 40.

He said they were shot and killed “with no warning, no provocation”.

“They were quite simply assassinated,” Mr Bratton said.

Mr Liu, a seven-year veteran who got married two months ago, and Mr Ramos, father to a 13-year-old son, were “ambushed and murdered”, officials said.

Mr Bratton added that Brinsley had published posts on Instagram that were “very anti-police”.

Authorities have not revealed the contents, but two officials told the Associated Press that Brinsley posted about shooting two “pigs” in retaliation for the death of Eric Garner, who died after a New York police officer used a chokehold during an arrest… see more

source: skynews