A fight has erupted in several states between Republican lawmakers and locally elected Democrats over how to respond to crime.

Democratic district attorneys (often serving cities with many Black and Latino voters) say they are prioritizing serious crimes. In response, Republicans (often representing mostly white and rural areas) have accused them of ignoring criminal law and are making it easier to remove them from office.

Today, I’ll explain what’s happening and why it matters.

Since 2015, dozens of prosecutors promising progressive reforms have taken office across the country. They vowed to send fewer people to prison and reduce the harms to low-income communities that are associated with high incarceration rates.

To achieve that goal, many of these prosecutors said they would use the discretion the law generally allows them to decline to charge categories of crimes, like low-level marijuana offenses. About 90 prosecutors, out of more than 2,000 nationwide, also pledged not to prosecute violations of abortion bans. Many of these prosecutors have been re-elected, a sign of sustained voter support.

Still, conservatives argue that the district attorneys are shirking their duty. Declining to prosecute a particular case is legitimate, they say; ruling out charges for a category of offenses is not. As a Republican legislator in Tennessee put it, “A district attorney does not have the authority to decide what law is good and what law isn’t good.” The conservative Heritage Foundation devotes a section of its website to attacking “rogue prosecutors.”

In Florida, Mississippi, Tennessee and elsewhere, Republican lawmakers have moved to oust or constrain prosecutors and officials who oversee the court system. The Republicans, who largely represent rural areas, are often aiming to thwart voters in cities, including many Black and Latino residents, who elected candidates on platforms of locking up fewer people.

Examples include:

  • In February, the Mississippi House passed a bill that establishes a new court system in part of the state capital, Jackson, a majority Black city run mostly by Black officials. In the neighborhoods where most of Jackson’s white residents live, the legislation would effectively replace locally elected judges with state-appointed ones and city police with a state-run force.

  • Tennessee lawmakers in 2021 gave the state attorney general the authority to ask a judge to replace local prosecutors in cases in which they refuse to bring charges. Republican lawmakers criticized the district attorney in Nashville, Glenn Funk, who said he would no longer prosecute simple marijuana possession. Funk also said he would not charge businesses that ignored a state law requiring them to post signs saying transgender people could be using single-gender bathrooms.

  • When Deborah Gonzalez, a progressive, ran for district attorney in Athens, Ga., in 2020, Gov. Brian Kemp tried to cancel the election. Kemp lost in court, and Gonzalez won the seat.

  • In Florida last August, Gov. Ron DeSantis ousted Andrew Warren, the elected Democratic prosecutor in the district that includes Tampa, who had pledged not to prosecute offenses related to abortion or transgender health care.

These actions upend a longstanding tradition of local control over criminal justice. In the 19th century, many states embraced local elections of prosecutors to ensure that they “reflect the priorities of local communities, rather than officials in the state capital,” according to one history. Criminal laws are largely enacted at the state level, and prosecutors, meant to be accountable to their communities, decide how to enforce them.

Since prosecutors lack the resources to bring charges for every arrest, their discretion is a feature of the system. In the past, prosecutors usually used their discretion to act tough on crime. “Now you’re seeing a state effort to subvert the will of local voters who have elected prosecutors who use their discretion for a more compassionate and equitable system,” Marissa Roy, a lawyer for the Local Solutions Support Center, said. “It’s inherently undemocratic.”

In a few states, Republicans are considering legislation that would give them power to remove local prosecutors. Georgia legislators recently passed a bill that would create a commission with the power to remove prosecutors. It awaits Kemp’s signature.

The Missouri House passed a bill to allow the governor to appoint a special prosecutor for violent crimes for five years. The bill was originally written to target St. Louis, where the elected city prosecutor, Kimberly Gardner, is a progressive Black Democrat.

In Texas, dozens of such bills are in play. One, which passed the Texas Senate this week, would bar prosecutors from adopting policies that refrain from prosecuting a type of offense. Another would create a council dominated by political appointees that could refer prosecutors to a trial court to be dismissed for incompetence. Republican supporters of the legislation targeted five district attorneys, from large metropolitan areas, who said they would not prosecute certain offenses, including some related to abortion or transgender medical treatments for minors.

When a new type of legislation pops up in different states, a national policy organization sometimes promotes it. That may be happening with these bills. Last July, a Heritage Foundation staff member met by video with Republican lawmakers about curbing prosecutors’ authority, according to a person familiar with the Texas bills. The legislation became a priority of the Texas House speaker and lieutenant governor. “The Heritage Foundation meets with a variety of people and organizations about public policy topics,” a spokeswoman said.

Given the conservative momentum behind the bills, Roy expects to see more. “All of this is connected to the backlash to the movement for racial justice and criminal justice reform,” she said.

Math and literature often seem like opposites. But whether it’s needing structure or searching for truth, they have a lot in common, Sarah Hart says.

Economic competition, protectionism and even trade wars aren’t barriers to solving climate change; they’re assets, Robinson Meyer argues.

The deaths of children — from guns, suicide and car crashes — are fueling America’s falling life expectancy, David Wallace-Wells writes.

Peeps: Visit the factory that makes the fluffy marshmallow chicks.

Sonny Angel: These tiny dolls offer stress relief.

Modern Love: Seduced by a charming chatbot.

Advice from Wirecutter: Clean your phone. (It’s probably getting gross.)

Lives Lived: Mimi Sheraton, the food writer and restaurant critic, was the first to wear a disguise to get a normal diner’s experience for her Times reviews and worked for many publications in a six-decade career. She died at 97.

The Masters: After shooting a 2-over-par 74 yesterday, Tiger Woods — who is struggling with leg issues — is in danger of missing the cut. It was part of an exhilarating first round in Augusta, Ga.

N.B.A.’s regular season closes: The top of the Eastern Conference is set, as the Bucks, Celtics, 76ers, Cavaliers, Knicks and Nets have clinched postseason spots. The Western Conference, though, is wide open.

“The Super Mario Bros. Movie” is now in theaters, and it faithfully recreates the colorful Mushroom Kingdom. Everything looks and sounds as it does in the games (except maybe Mario himself, who sounds an awful lot like Chris Pratt).

Thirty years ago, the first big-screen adaptation of the video game series tossed aside the cartoonish setting in favor of a live-action, dystopian version of New York. The film was largely shot in an abandoned cement factory; sticky fungus was key to the plot. The movie was a flop.

For The Times, Darryn King revisited that original film and the small but dedicated fan group who consider it a cult classic.