CHICAGO (AP) — President Donald Trump used a conference of police chiefs on Monday to slam the host city as “embarrassing to us as a nation” under the leadership of its top cop, who skipped the event over disagreements with Trump’s immigration policies.

Trump has frequently criticized Chicago over its status as a sanctuary city — it’s one of scores of cities around the country that refuse to work with federal authorities to round up people who are living in the U.S. illegally — and an increase in recent years in deadly shootings.

“It’s embarrassing to us as a nation,” Trump said. “All over the world they’re talking about Chicago. Afghanistan is a safe place by comparison.”

Trump also lashed out at Supt. Eddie Johnson of the Chicago Police Department for skipping Trump’s first appearance in the city as president.

“More than anyone else he should be here, because maybe he could maybe learn something,” Trump said, claiming Johnson puts the needs of illegal immigrants above the needs of the law-abiding residents of Chicago.

“Those are his values, and frankly those values to me are a disgrace,” Trump said, vowing to never to give priority to the needs of illegal immigrants. “I want Eddie Johnson to change his values and to change them fast.”

The Chicago Police Department had no immediate comment on Trump’s remarks.

Johnson’s decision to skip Trump’s address angered the city’s chapter of the Fraternal Order of Police, which said in a Facebook post that “such a gesture would be an insult to both President Trump and the office of the presidency itself and would be a mark of disgrace upon the city throughout the entire nation, including Mayor Lori Lightfoot.” Lightfoot has also refused to meet with Trump while he is in the city.

FOP Lodge 7, which represents rank-and-file Chicago police officers, announced that it had cast a vote of no confidence in Johnson.

The vote might please Trump, who has told police officers in his speeches not to treat crime suspects so gently and was cheered at last year’s gathering of the same police chiefs’ organization in Orlando, Fla., when he advocated the use of the “stop and frisk” policing tactic that has been deemed unconstitutional.

The president’s visit comes with more than 25,000 members of the Chicago Teachers Union on strike. The strike began Oct. 17.

At the conference, Trump signed an executive order creating a presidential commission on law enforcement to study issues like substance abuse, homelessness and mental illness, the White House said. The order calls for establishing a framework for better training, recruiting and retaining law enforcement officers.

The president also announced that the Justice Department will begin a stronger crackdown on violent crime in the United States, targeting gang members and drug traffickers in high-crime areas. “Let’s call it the surge,” Trump said.

Johnson, meanwhile, is under internal investigation after he was found sleeping in a city-owned vehicle earlier this month. Lightfoot said the superintendent, who called for the investigation, told her he had “a couple of drinks with dinner” before he fell asleep at a stop sign while driving home. Johnson blamed the episode on a change in his blood-pressure medication.

While in Chicago, Trump is scheduled to headline a campaign luncheon that’s set to raise approximately $4 million for a joint fundraising committee benefiting Trump’s re-election effort and the Republican National Committee, according to the GOP.

Trump last visited Chicago in March 2016 as a candidate for president for what was supposed to be a campaign rally on the campus of the University of Illinois at Chicago. But after fights broke out between supporters and protesters awaiting his arrival at the arena, Trump canceled the event.

Trump said then that he had consulted with Chicago police before making the decision. But the city’s top cop at the time, John Escalante, as interim superintendent, disputed Trump’s characterization.