New York City Mayor Bill de Blasio blasted Donald Trump's call for the use of stop-and-frisk policing in American cities, saying Wednesday night he "wants to . . . build a second wall between police and community."

The liberal mayor said the policing tactic – challenged in court and ruled unconstitutional in 2013 – was "creating tremendous tension between police and community," and its end in New York City "minimized the likelihood of protests, because we got to the core of the matter," de Blasio told MSNBC's "The Rachel Maddow Show."

He said the GOP presidential nominee "doesn't understand that."

"So what Donald Trump wants to do is build a second wall between police and community," he said. "That's what would occur if we reinstated stop and risk."

"Donald Trump doesn't know anything about communities of color," de Blasio added. "[Stop and frisk] affected Latinos just as much as African-Americans. He has no clue it wasn't an effective strategy. I tire of him thinking he knows more than [Former New York Police Commissioner] Bill Bratton or [current Commissioner] Jimmy Neil."

"When we ended it there were dire warnings that things would get more dangerous in New York City," de Blasio said. "Guess what? Three years straight crime has gone down."

Earlier Wednesday, Trump, at a Town Hall meeting at a predominantly black church in Cleveland, praised the controversial tactic, saying it "worked incredibly well" when it was used in New York City.

"I think you have to [do it]," he said. "We did it in New York, it worked incredibly well and you have to be proactive.

"Now, we had a very good mayor, but New York City was incredible, the way that worked, so I think that could be one step you could do."

New York City Mayor Bill de Blasio blasted Donald Trump's call for the use of stop-and-frisk policing in American cities, saying Wednesday night he "wants to . . . build a second wall between police and community."