If Democratic candidate Doug Jones had lost to GOP candidate Roy Moore, weakened as he was by a sea of allegations of sexual assault and harassment, then some of the blame would have seemed likely to be placed on black turnout.

But Jones won, according to the Associated Press, and that script has been flipped on its head. Election Day defied the narrative and challenged traditional thinking about racial turnout in off-year and special elections. Precincts in the state’s Black Belt, the swathe of dark, fertile soil where the African American population is concentrated, long lines were reported throughout the day, and as the night waned and red counties dominated by rural white voters continued to report disappointing results for Moore, votes surged in from urban areas and the Black Belt. By all accounts, black turnout exceeded expectations, perhaps even passing previous off-year results. Energy was not a problem.

Exit polls showed that black voters made a big splash. TheWashington Post’s exit polls indicated that black voters would make up 28 percent of the voters, greater than their 26 percent share of the population, which would be a dramatic turnaround from previous statewide special elections in the South, including a special election for the Sixth District in Georgia, which saw black support for Democratic candidate Jon Ossoff dissipate on Election Day.

As the Cook Political Report editor Dave Wasserman noted on Twitter, turnout was particularly high in the counties with the largest black populations. In Greene County, a small area that is 80 percent black and that Martin Luther King Jr. frequented in his Poor People’s Campaign, the turnout reached 78 percent of that of 2016, an incredible mark given that special elections and midterms usually fall far short of general-election marks. Perry County, also an important mostly black site of voting-rights battles of old, turned out at 75 percent of 2016 levels. Dallas County, whose seat is the city of Selma, hit the 74 percent mark. And while the exact numbers aren’t in for all of the majority-black or heavily black counties, black voters appear to have favored Jones at rates close to or more than 90 percent.

Meanwhile, Moore’s support sagged in mostly white counties. The race was probably over for the former state chief justice when Cullman County, which is virtually all white and heavily supported Trump in 2016, turned out only at 56 percent of its 2016 level. It really does seem that although many white voters weren’t convinced to vote for Jones, the allegations against Moore persuaded many of them to stay home.

These results demolish the preestablished media narrative about black voters in the state and defy conventional wisdom. Black voters were informed and mobilized to go vote, and did so even in the face of significant barriers.

I previously noted that Alabama is one of the hardest states in the country to vote—especially so for black voters—and that voter-suppression efforts could have had strong effects on black votes. Tuesday night’s returns are all the more remarkable because of the surge of turnout that appears to have taken place in spite of those very real barriers.

The grassroots organizing in black communities by groups such as local NAACP chapters was more muscular than it had even been in the 2016 general election. In the lead-up to Tuesday’s contest, voting-rights groups registered people with felonies, targeted awareness campaigns at people who might not have had proper identification, and focused specifically on knocking down the structures in place that keep black voters away from the polls. Their efforts immediately become a case study in a region that has, since the Supreme Court’s 2013 Shelby County v. Holder decision curtailing the 1965 Voting Rights Act, become a bastion of new voter-suppression laws, including new voter-identification laws.

The prospects of those laws and the efforts to circumvent them will be further tested in the 2018 elections. But for now, Jones is the man in Alabama, and even as white voters by and large stuck with Moore, Democrats were saved by a community already fighting against the grain to be heard in the din of democracy.

We want to hear what you think about this article. Submit a letter to the editor or write to letters@theatlantic.com.

Vann R. Newkirk II is a staff writer at The Atlantic, where he covers politics and policy.