New York City Mayor Bill de Blaiso is sharply criticizing Donald Trump's call for expanded use of stop-and-frisk, a police tactic that a federal judge has ruled can be discriminatory against minorities.

De Blasio, a Democrat who supports Hillary Clinton, on Wednesday called Trump's proposal "appalling" and suggested that "he's either ignorant about the history of the city or he's lying about it."

Stop-and-frisk, which allows police to search anyone they deem suspicious, was widely used in New York though critics said it increased tension between communities of color and the police.

Trump said Wednesday he favors using it nationwide.

A federal court ruled in 2013 that the city's use of the tactic was excessive and unconstitutional. De Blasio was elected that year after promising to end its overuse.