By Jennie Matthew ,AFP

NEW YORK — An African American gunman with an apparent grudge killed two New York police officers in a cold-blooded attack after weeks of outrage over police killings of unarmed black men. U.S. President Barack Obama ��unconditionally�� condemned the murders, saying in a statement: ��Tonight, I ask people to reject violence and words that harm, and turn to words that heal.�� The two uniformed officers, one a newlywed, were shot in the head through the window of their patrol car in broad daylight in Brooklyn on Saturday in an attack that left America’s biggest city reeling just days before Christmas. ��Today, two of New York’s finest were shot and killed with no warning, no provocation,�� said an emotional New York Police Commissioner Bill Bratton. ��They were quite simply assassinated.�� Police named the shooter as 28-year-old Ismaaiyl Brinsley, who shot and seriously wounded his ex-girlfriend in Baltimore early Saturday before driving to Brooklyn to murder the two officers. Wenjian Liu, a seven-year police veteran who got married two months ago, and Rafael Ramos, who leaves behind a 13-year-old son, were ��ambushed and murdered�� as they sat in the front seats of a marked NYPD police car, officials said. Neither officer had a chance to draw his weapon before Brinsley opened fire with several rounds and fled to a nearby subway station. He shot himself in the head on the platform, where Bratton said a silver semi-automatic firearm was recovered near his body. Cities across the United States have seen weeks of protests condemning a string of recent police killings of unarmed black men and decisions by grand juries not to press charges against the white officers responsible. Bratton said social media postings showed that Brinsley ��had a very strong bias against police officers.�� Just hours before the shooting, Brinsley apparently boasted on Instagram of wanting to kill cops.

‘Entire city attacked’ Attorney General Eric Holder said the attack is a reminder of the dangers U.S. police face regularly. ��As a nation we must not forget this as we discuss the events of the recent past,�� he said in a statement that appeared to refer to the country’s ongoing police controversy. New York Mayor Bill de Blasio said the city of 8.4 million was in mourning. ��When a police officer is murdered, it tears at the foundation of our society. It is an attack on all of us,�� he said. ��Our entire city was attacked by this heinous individual.�� The police chief said the motive was still under investigation, but did not rule out a connection to anti-police protests that have swept the country. ��One of the unfortunate aspects at times is some people get caught up in these and go in directions they should not,�� he said. In a cruel twist of fate, Bratton said Baltimore police warned New York colleagues that Brinsley may be on the loose just as the murder took place. In October, a man with a hatchet attacked four young New York officers in what police said was an act of terror by a self-radicalized Muslim convert.