North Carolina's state capitol building in Raleigh

On Monday, a federal district court struck down a map that North Carolina’s Republican-controlled state legislature had imposed on the city of Greensboro, the state’s third-largest city. In a remarkable affront to local rule, Republican lawmakers passed a law in 2015 that replaced the city council districts that the city itself had drawn and replaced them with gerrymandered lines intended to hurt Democratic and black voters.

Democrats quickly brought a challenge to this new map, and the judges hearing the case have now put a stop to this usurpation of power. The court concluded that the legislature’s map was an impermissible racial gerrymander; that it violated the principle of “one person, one vote”; and that it unfairly singled out Greensboro. The city-drawn map had remained in place for the 2015 elections while litigation was ongoing, and it will now stay in effect for elections in fall.

Republicans have gone to greater extremes to gerrymander in North Carolina than in practically any other state, and no city has been a victim of their abuses more than Greensboro, a heavily Democratic city of 300,000 that is majority non-white. Since gaining control over redistricting in 2010, Republican legislators have tried to gerrymander Greensboro’s districts for Congress, state legislature, county commission, county school board, and city council. There is literally no elected federal, state, or local legislative body representing Greensboro that Republican state legislators haven’t attempted to distort.

In fact, these gerrymanders are so effective that Greensboro, which typically votes for Democratic presidential candidates by a two-to-one ratio, is represented in the House by zero Democrats. And Guilford County, which is home to Greensboro and roughly half a million people, likewise supported Hillary Clinton by a 58-38 margin, but Republicans have maintained a majority on the county commission ever since 2012—when, of course, they got to draw the map for it.

Courts have, fortunately, repeatedly smacked down these efforts, invalidating GOP gerrymanders of congressional, legislative, and now council districts affecting Greensboro, as well as gerrymanders of governing bodies in other populous locales. But these persistent attacks on the principle of self-rule are par for the course for North Carolina Republicans, who have also used their legislative majorities—which, it must be noted, were only obtained using unconstitutional maps that have since been struck down—to try to usurp the powers of Democratic Gov. Cooper after he defeated Republican Gov. Pat McCrory last year.

Republican legislators remain undeterred and continue to plot new ways to rig elections, so an appeal of this ruling is likely. But given recent victories against GOP racial gerrymandering in North Carolina and elsewhere, their chances of success are doubtful.