President Donald Trump, who now hails the “incredible people” of El Paso, Texas and condemns the “hate” that apparently fueled Saturday’s mass shooting that killed at least 22 people in the city, just months ago unjustly and erroneously smeared the border community.

In his February State of the Union address to Congress, he derided El Paso as one of America’s “most dangerous cities” with an “extremely high” crime rate before a barrier was constructed along its boundary with Mexico— flatly contradicting the facts.

Crime statistics show El Paso has been one of the nation’s safest cities for decades, and its officials joined in a chorus to quickly slam Trump’s lies about it in his nationally televised speech.

Democratic presidential contender and former Rep. Beto O’Rourke, an El Paso native whose district included the city, complained to The Washington Post at the time that Trump is “just full-on, in the most racist terms, completely divorced from ... reality” concerning its crime. He said the president “uses this to incite fear and paranoia.”

Authorities are now examining a “manifesto” echoing some of Trump’s same anti-Mexican rhetoric that allegedly was written and posted online shortly before Saturday’s shooting by the alleged killer, Patrick Crusius, 21. The manifesto refers to the “Hispanic invasion of Texas,” and the massacre occurred at a Walmart known to be popular with Mexican-Americans and Mexicans.

Rep. Veronica Escobar, a Democrat who last November won O’Rourke’s former House seat, sent Trump a letter after his State of the Union remarks demanding an apology for his politically motivated “distortions,” which she said were “harmful to our reputation and degrade our spirit.”

El Paso County Sheriff Richard Wiles said in a statement that it was “sad to hear President Trump state falsehoods about El Paso in an attempt to justify the building of a 2,000-mile wall. El Paso was a safe city long before any wall was built.”