The deadly police shooting of a Black man in Philadelphia has roiled the presidential campaign in a key battleground state just days before the election, igniting tensions over race, violence and law enforcement that pose political challenges for Joe Biden and President Trump.

Trump has seized on riots and looting that erupted in the aftermath of Monday’s shooting in an effort to portray Biden as soft on crime, while selling himself as the “law and order” candidate. “You can’t have chaos like that — and he’ll be very, very weak,” Trump predicted Wednesday of the Democratic nominee.

Biden has pushed back on those attacks, saying repeatedly that he does not condone looting and has no tolerance for violence against police. He also expressed outrage at the killing of Walter Wallace Jr., condemning in strong terms “another Black life in America lost.” Trump on Wednesday called the shooting a “terrible event” and said the federal government is looking into it. Philadelphia was under a curfew Wednesday night.

Bystander video shows Philadelphia police officers fatally shoot Black man
Philadelphia police officers fatally shot Walter Wallace Jr. on Oct. 26. Wallace had a knife and, according to his family, was suffering a mental health crisis. (John Farrell/The Washington Post)

Biden’s remarks highlight the fragile balance he is trying to strike as he aims to secure victory in Pennsylvania, an important state Trump won four years ago but where he now trails Biden narrowly, polls show.

To secure victory, Biden is counting on strong support from the populous suburbs around Philadelphia. Those areas have swung sharply Democratic since 2016, but Trump believes he can win back some of his supporters with his law-and-order message.

“We are the swingiest of states,” said the Rev. Mark Tyler, a Biden supporter who has been out in Philadelphia amid the protests this week and worries the looting will overshadow Wallace’s death. “A lot of people are really feeling afraid that the narrative that comes out is one that reinforces the one that Trump has used all along in the suburbs.”

But Biden also needs high turnout among African Americans and other supporters in the city, where voters tend to be more liberal. And the former vice president’s emphasis on violent protesters has frustrated some, who say he should focus less on looting and more on racial justice.

“I think it could have been stronger,” said Helen Gym, a Democratic at-large member of the Philadelphia City Council, of Biden’s response.

The Rev. Al Sharpton, a close Biden ally, found a silver lining in what some saw as timidity on Biden’s part: “Even if he did not say all that we wanted, he was a hundred percent better than President Trump.”

Public polls taken after turmoil this summer but before the events in Philadelphia found swing-state voters trusting Biden more than Trump to deal with racism and, more narrowly, with maintaining “law and order,” showing the risks he assumed by leaning into the situation in Philadelphia.

Trump has frequently fanned racial divisions and, in June, authorities fired flash-bang shells, gas and rubber bullets into a crowd of peaceful protesters near the White House so the president could stage a photo op in front of a church.

Trump’s attacks on political adversaries are often followed by threats to their safety. Trump talks about Biden being assassinated weeks into his presidency. “Joe’s shot; Kamala, you ready?."

Today, in Lansing, Michigan, Trump warned about the elevation of Harris to the presidency, saying that “Joe’s shot; Kamala, you ready?... She makes Bernie Sanders look like a serious conservative.” Trump seems to be using the term “shot” as the old slang word for “worn out,” but there is no doubt he understands the dual meaning in that word, and is warning that Harris, should she be required to succeed Biden, will be a left-wing radical.