On June 25, 2013, the Supreme Court struck down the heart of the Voting Rights Act, ruling that states with the longest histories of voting discrimination no longer had to approve their voting changes with the federal government. A month after that decision, North Carolina—where 40 counties were previously subject to that requirement—passed the country’s most sweeping voting restrictions.

The state required strict voter ID to cast a ballot, cut a week of early voting, and eliminated same-day voter registration, out-of-precinct voting, and preregistration for 16 and 17-year-olds. On July 29, 2016, the US Court of Appeals for the Fourth Circuit invalidated these restrictions, which it said targeted African Americans “with almost surgical precision” in violation of the Voting Rights Act and 14th Amendment.

The decision was the most significant victory for voting rights since the Supreme Court gutted the Voting Rights Act. North Carolina Republicans appealed to the Supreme Court. Today, in a big and unexpected win for voting rights, the Supreme Court declined to hear the case, meaning that the country’s worst voter-suppression law will remain blocked indefinitely.

Despite this important legal victory, North Carolina remains a cautionary tale for how low Republicans will stoop to suppress the vote.

Even after the Fourth Circuit called cuts to early voting “as close to a smoking gun as we are likely to see in modern times,” North Carolina Republicans brazenly cut early-voting hours in local counties. The executive director of the North Carolina Republican Party, Dallas Woodhouse, urged Republican-controlled election boards to “make party line changes to early voting” by adopting fewer early voting days, eliminating polling places on college campuses, and prohibiting Sunday voting, when black churches hold “Souls to the Polls” mobilization drives.

The cynical strategy worked: Black turnout decreased 16 percent during the first week of early voting because of long lines and fewer polling places. The North Carolina GOP bragged before Election Day that “African American Early Voting is down 8.5% from this time in 2012. Caucasian voters early voting is up 22.5% from this time in 2012.”

Then, after Democrat Roy Cooper was elected governor, one of the first things the GOP-controlled legislature did, in a lame-duck legislative coup, was take away the governor’s power to control a majority on the state’s election boards—the very election boards that cut early voting in Democratic areas. This is the same GOP legislature that has been found guilty of rampant racial gerrymandering and will have to hold a special election to redraw many of its seats.

Beyond North Carolina, attacks on voting rights are going to get worse because of the establishment of President Trump’s “election integrity” commission and a new conservative majority on the Supreme Court. Republicans lost a major battle in North Carolina, but they won’t stop fighting a longer war against democracy.