Rep. Joe Crowley conceded the Democratic primary to Alexandria Ocasio-Cortez an hour after polls closed in New York City, signaling a dramatic shakeup in not just Queens borough politics, but also on the state and federal level.

“It has been the honor of a lifetime to represent Queens and the Bronx. I am proud of the race we ran and, more importantly, proud of all of the work we’ve done to advance this community,” Crowley said in a statement.

“I want to congratulate Ms. Ocasio-Cortez on her victory tonight. I look forward to supporting her and all Democrats this November. The Trump administration is a threat to everything we stand for here in Queens and the Bronx, and if we don’t win back the House this November, we will lose the nation we love. This is why we must come together. We will only be able to stop Donald Trump and the Republican Congress by working together, as a united Democratic Party.”

Queens plays a key role in the fabric of New York politics, with the leverage to play power broker in legislative races, leadership battles and who runs for citywide office.

Crowley’s loss to Ocasio-Cortez suggests the strain, too, of potentially doing too much for a pol who wanted to play party boss in Queens and in Congress, a lawmaker who could crown the next the mayor and sit behind the president during the State of the Union.

At the same time, Crowley’s loss, while rare, would not make him the first incumbent potentially destined for rising in the ranks of the House leadership to lose a first-time candidate in a shocking upset (see Cantor, Eric).

Crowley had not had a primary challenge in 14 years and his Queens district had been reshaped during several rounds of redistricting, drawing in much more of the Bronx.

Still, it’s a victory for insurgent progressives, who hope to have the winds further at their backs in the fall for the general elections — and a sign of the restive nature for some in the party.

And in a sign that the victory was somewhat unforeseen, the liberal Working Families Party had endorsed Crowley in the race. They switched on Tuesday night after his concession

“WFP often makes big bets on underdogs, but even we didn’t think this one was possible,” said Bill Lipton, the state director of the Working Families Party. “But the old rules about what’s possible have been proven wrong, and we’re delighted. Tonight, the Working Families Party is thrilled to endorse Alexandria Ocasio-Cortez for Congress. When she shows up in Washington in January, nothing is going to be the same.”