. http://www.bbc.co.uk/news/world-us-canada-30566196 . A gunman has shot dead two police officers sitting inside a patrol car in New York before killing himself.
The commissioner of the New York police department, Bill Bratton, said the men had been "targeted for their uniform".
They were killed, he said, with "no warning, no provocation - they were quite simply assassinated".
The gunman ran into a nearby subway station where he then shot himself, officials say.
Police have cordoned off the area near the shooting and blocked access to pedestrians.
he two dead police officers were named as Liu Wenjin and Raphael Ramos.
Their killer's name was given as Ismaaiyl Brinsley, 28.
Deputy Inspector Michael Deddo, of Brooklyn's 66th Precinct police, tweeted: "Our prayers are with our fellow NYPD brothers who were executed in the line of duty today in Brooklyn".
The last fatal shooting of a New York police officer was in 2011.
The shootings come at a tense time, with widespread anger at recent decisions not to prosecute white policemen over the death of unarmed black men.
The rulings sparked demonstrations across the country and inflamed tensions between police and the African American community.
Two New York policemen executed in broad daylight by man who shot his girlfriend before bragging on Instagram that he was going to get revenge for deaths of Eric Garner and Michael Brown
Ismaaiyl Brinsley shot officers in the head on Saturday in Brooklyn at 3pm
He had travelled 190 miles from Baltimore, Maryland, where he shot his ex
Officers Rafael Ramos and Wenjian Liu had been eating in their patrol car
Brinsley, 28, then ran to subway station where he shot himself in the head
He had written on Instagram that he would kill 2 cops in revenge for Garner
Friends of Brinsley have told DailyMail.com he was 'acting strange' in the wake of grand jury trial that refused to indict Eric Garner's police killer
Two New York policemen executed in broad daylight by man who shot his girlfriend before bragging on Instagram that he was going to get revenge for deaths of Eric Garner and Michael Brown Ismaaiyl Brinsley shot officers in the head on Saturday in Broo
All that's left now is for the exact same protestors who staged the "Black Lives Matter" and "I Can't Breathe" protests to reassemble in the exact same numbers to stage the "Police Lives Matter" protests. Right?
Yes, even the human tragedies who assembled at the, erm, Westfield Shopping Centre, Shepherds Bush, where of course the very last thing on their minds were 42 Inch Plasma Tellys.
All that's left now is for the exact same protestors who staged the "Black Lives Matter" and "I Can't Breathe" protests to reassemble in the exact same numbers to stage the "Police Lives Matter" protests. Right? Yes, even the human tragedies who asse
I have already been out on the streets!! well ..... I did walk up to the shop and came back clutching my guardian in my raised left hand in solidarity etc - as we do in Notting Hill land
I have already been out on the streets!! well ..... I did walk up to the shop and came back clutching my guardian in my raised left hand in solidarity etc - as we do in Notting Hill land