The result came a shock, maybe even to the candidate herself.
That was Tuesday night. By Wednesday morning, Alexandria Ocasio-Cortez was in high demand, making the rounds on the national news shows, including MSNBC's "Morning Joe" and CNN, and being held up as an antidote to everything that ails the Democratic Party.
Ocasio-Cortez: If you've never voted before, we are talking to you.
Mika Brzezinski: Ok, so that's the clearest message I've heard from a Democrat in a long time.
A young progressive firebrand who'd never before run for office, Ocasio-Cortez bucked the system by toppling powerful congressman and Queens party boss Joe Crowley.
But the idea that changing demographics fueled her win wasn't borne out by the data, according to Steve Romalewski of the CUNY Graduate Center, who mapped out Tuesday's results.
"Most of her votes, her strongest support, was from areas that were not predominantly Hispanic," Romalewski said. "You would have expected the opposite."
A map shows her highest concentration of votes in places like Sunnyside and the northern end of Astoria, where young newcomers to the district are clustered.
"It looks like people who haven't been that involved in the process before," Romalewski said.
- Democratic primary debate: Crowley vs. Ocasio-Cortez, Part 1
- Democratic primary debate: Crowley vs. Ocasio-Cortez, Part 2
As for Crowley, Ocasio-Cortez responded to his congratulatory tweet in the wee hours Wednesday morning, thanking him for his support and longstanding service to the community:
President Trump wasn't so kind. "For Crowley to lose that election, that was a shocker," he said Wednesday.
Asked about the race, he didn't mention Ocasio-Cortez and instead took a swipe at Crowley: "I think he probably took it for granted, and I can't say that I'm disappointed, because I was never a big fan."
House Democratic Leader Nancy Pelosi, meanwhile, bristled at the idea this was a sign of a larger trend.
"The fact that in a very progressive district in New York, it went more progressive than — well, Joe Crowley is a progressive, but more to the left than Joe Crowley — is about that district," Pelosi said.
If Ocasio-Cortez did turn out new voters, it wasn't reflected in the overall turnout in the district, which was just 12 percent, barely higher than the citywide average.