Across the country, state lawmakers and courts are reshaping U.S. House districts ahead of the November midterm elections, setting up a series of legal fights over which lines will apply and which political targets each side is trying to reach.

Republicans, according to the Associated Press, say they have pulled ahead in the national contest over House district boundaries after a series of court decisions affected Voting Rights Act protections and disrupted Democratic map efforts. The legal backdrop includes a recent U.S. Supreme Court ruling that struck down a Black-majority congressional district in Louisiana, which Republicans are citing as support for changes they want in other Southern states. Democrats, in turn, are relying on their own map revisions in states they argue could produce additional House seats.

The Supreme Court ruling in Louisiana gave Republicans new leverage. The Court invalidated the Black-majority congressional district as an illegal racial gerrymander, and Republicans have moved in several states to try to eliminate or reduce House districts with large minority populations that have elected Democrats. The shift has fed a broader campaign on both sides to redraw districts in states where revised boundaries could change which party controls particular seats.

Democrats, meanwhile, have faced setbacks as courts rejected some map strategies. In Virginia, a state Supreme Court decision invalidated a voter-approved congressional map Democrats had counted on to deliver as many as four additional U.S. House seats. The court said Democratic lawmakers violated the state constitution when placing the proposal on the ballot.

The dispute over district lines has also been shaped by the timing of the redistricting. Legislative districts typically are redrawn based on census data after the start of each decade, but this cycle has featured unusual mid-decade redistricting. The Associated Press reported that the process accelerated after President Donald Trump urged Texas Republicans last year to reshape House districts to give the party an edge in midterm elections, and that Democrats in California countered with their own political gerrymandering. Other states then followed.

So far, Republicans see opportunities for additional seats in a list of states that includes Texas, Alabama, Florida, Missouri, North Carolina, Ohio and Tennessee, while Democrats see potential gains in California and Utah. Those estimates assume past voting patterns hold in November, even as legal challenges continue to test whether the revised maps will stand.

Some states were still considering proposals for new House maps as Election Day nears, rather than operating entirely under final plans. In Louisiana, Republicans have proposed a new U.S. House map that they say could help them gain an additional seat after the April 29 Supreme Court ruling. Republican Gov. Jeff Landry postponed the May congressional primary to either July 15 or another date determined by lawmakers, while lawsuits asserted that Landry lacked authority to suspend the primary elections.

In South Carolina, Republican state House members proposed a new U.S. House map aimed at improving the GOP’s chances of winning an additional seat. The Associated Press said the House voted to allow redistricting to be considered after its regular work session ended May 14, but the resolution failed to win the needed two-thirds majority in the Senate.

Where revised House districts already are in place, states have moved through different paths—voluntary action, constitutional requirements, or court orders—while other legal disputes remain. In Texas, Republican Gov. Greg Abbott signed a revised House map into law last August that supporters said could help Republicans win five additional seats; the Associated Press reported the U.S. Supreme Court later cleared the way for the districts to be used this year after overturning a lower-court ruling that had blocked the map as racially gerrymandered.

In California, voters in November approved revised House districts drawn by the Democratic-led Legislature that proponents said could help Democrats win five additional seats. The Associated Press said the U.S. Supreme Court in February allowed those districts to be used for this year’s elections and rejected an appeal from Republicans and the Department of Justice, which argued the districts impermissibly favored Hispanic voters.

Missouri and North Carolina have both proceeded under revised maps that remain under varying forms of judicial scrutiny. In Missouri, Republican Gov. Mike Kehoe signed a revised House map into law last September that supporters said could help Republicans win an additional seat by reshaping a Democratic-held district based in Kansas City. The Associated Press said the Missouri Supreme Court ruled May 12 that the new map is in effect while election officials determine whether a statewide referendum petition complies with constitutional criteria and contains enough valid petition signatures.

In North Carolina, the Republican-led General Assembly approved revised districts in October that supporters said could help Republicans win an additional seat. A federal court panel in November denied a request to block the revised districts from being used for the midterm elections, according to the Associated Press.

Other states have faced fewer immediate challenges but still remain part of the larger mid-decade remapping picture. In Ohio, a bipartisan panel composed primarily of Republicans voted in October to approve revised House districts intended to improve Republicans’ chances of winning two additional seats; the Associated Press reported no challenges. In Utah, a judge imposed revised House districts in November that supporters said could help Democrats win a seat, after ruling lawmakers circumvented anti-gerrymandering standards when adopting the prior map; the Associated Press said courts rejected Republican challenges in February.

In Florida and Tennessee, the Associated Press described new district actions announced or signed in early May and continued court contests over whether the maps violate state constitutional provisions. Republican Gov. Ron DeSantis announced on May 4 that he signed revised U.S. House districts intended to improve the GOP’s chances of winning four additional seats, and lawsuits contend the map violates a state constitution provision prohibiting intent to favor or disfavor a political party. In Tennessee, Republican Gov. Bill Lee signed new U.S. House districts on May 7 intended to improve the GOP’s chances of winning an additional seat by carving up the lone Democratic-held seat—a Black-majority district that includes Memphis—and challenges contend the districts were drawn with a racially discriminatory purpose and that they disenfranchise voters this year, as well as that they were not proper under Lee’s special session proclamation.

In Alabama, the legal path involved a U.S. Supreme Court decision that allowed the state to switch to House districts passed in 2023 by Republican lawmakers. The Associated Press reported that on May 11, the Supreme Court cleared Alabama to use the 2023 plan, while attorneys who originally challenged the plan asked a lower court again to block it from being used.

For both parties, the mid-decade remapping process is likely to remain fluid as courts resolve disputes about whether district lines were adopted consistent with state and federal law—decisions that could influence how many seats each side claims it can win in November.