Mayor Bill de Blasio said Wednesday he thinks tensions have eased between his administration and the NYPD after hitting a nadir in winter when hundreds turned their backs on him to show disrespect after two cops were killed.

Asked on MSNBC's "Morning Joe" whether his relationship had improved with the city's 35,000 officers, de Blasio said "it was understandable that people felt deep, deep emotion" after officers Wenjian Liu and Rafael Ramos were ambushed in their squad car by a cop-hating gunman in Brooklyn.

"I think everyone after that experience recognized we all had to come forward, look forward, we all had to find a way toward each other. And I think the tone is much better," de Blasio said during the 15-minute appearance.

He noted that the city is again in mourning, over the death of Brian Moore of Massapequa, a 25-year-old NYPD officer shot in the head while confronting an armed ex-con in Queens on Saturday night.

"We need to understand the pain that is caused to a family when we lose a police officer, obviously the pain when we lose a civilian as well," de Blasio said. "Brian Moore is someone we should all emulate."

"We also have to figure out how to continually bring police and community together, because we've lost a lot of other good young men recently, particularly young men of color, who were innocent, who were unarmed."

De Blasio credited improved relations between the NYPD and civilians as the impetus for bystanders to direct other officers to the getaway route of the accused shooter, who was arrested a short time later.