WASHINGTON (AP) — Just months before the midterm elections, Democrats hope to convince voters that lawlessness under President Donald Trump’s administration is the biggest threat to their rights and pocketbooks. But the party’s past debates over crime and safety threaten to undermine that pitch.Across the country, Democratic candidates are grappling with their previous positions calling to “defund the police” — a prominent demand during the protests that followed George Floyd’s death — by either reimagining public safety services altogether or redirecting some police departments’ funds to other social programs. Now, they are facing tough questions about their past positions.Democratic leaders fear that the outlier opinions favoring police defunding may again tarnish the party’s brand and sink its chances of gaining ground in Congress, governor’s mansions and statehouses nationwide.

“It was a serious debate in 2020 that arguably cost us some seats that year and caused us to lose on something where we should have had the upper ground, because a few members of our party wanted to have a stylistic debate rather than one on substance,” said Antjuan Seawright, a Democratic strategist. Seawright said to avoid being painted as politically toxic on safety issues, Democrats “have to define the narrative before others define us with the narrative.”That task may become more challenging as the party grapples with a rising left flank that has captivated its base, just as Republicans move to make warnings about crime, immigration and growing support for democratic socialism core to their closing midterm message.