Longtime Rep. Joseph Crowley (D-N.Y.), who’s been viewed as a potential House Speaker, is projected to lose the Democratic primary, a massive upset that will shake up the political world in New York and Washington.

The Associated Press called the race around 9:50 p.m. EDT. With 88 percent of precincts reporting, Ocasio-Cortez was leading Crowley, 57.6 percent to 42.4 percent.

Democrat Alexandria Ocasio-Cortez, a 28-year-old organizer for Sen. Bernie Sanders Bernie SandersOutrage erupts over Breonna Taylor grand jury ruling Dimon: Wealth tax 'almost impossible to do' Grand jury charges no officers in Breonna Taylor death MORE’s (I-Vt.) presidential campaign, defeated Crowley in his deep-blue district that encompasses northwest Queens and the eastern Bronx.

ADVERTISEMENT

Crowley, who’s chairman of the House Democratic caucus, is the third incumbent to lose a primary this cycle, but the first sitting Democratic member to be defeated.

This is the first time in 14 years that Crowley, 56, has faced a primary challenger. Crowley has long been seen as a potential successor to House Minority Leader Nancy Pelosi Nancy PelosiHoyer: House should vote on COVID-19 aid — with or without a bipartisan deal Ruth Bader Ginsburg lies in repose at Supreme Court McCarthy threatens motion to oust Pelosi if she moves forward with impeachment MORE (D-Calif.). And he's been a staple in New York City politics as chairman of the Queens County Democratic Party.

Crowley congratulated Ocasio-Cortez on her primary victory, offering his support to her and took a jab at President Trump Donald John TrumpBiden on Trump's refusal to commit to peaceful transfer of power: 'What country are we in?' Romney: 'Unthinkable and unacceptable' to not commit to peaceful transition of power Two Louisville police officers shot amid Breonna Taylor grand jury protests MORE. At his election night party, Crowley played Bruce Springsteen’s “Born to Run.”

“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,” Crowley said in a statement Tuesday night.

“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."

Trump also weighed in on Crowley’s stunning defeat, tweeting that he was a “big Trump hater” and should have been “nice.”

Ocasio-Cortez's campaign gained significant traction when a campaign video went viral late last month. She earned high-profile endorsements from national progressive groups including Sanders-aligned Our Revolution, MoveOn.org and Justice Democrats.

Political observers have likened Ocasio-Cortez’s upset to House Majority Leader Eric Cantor Eric Ivan CantorThe Hill's Campaign Report: Florida hangs in the balance Eric Cantor teams up with former rival Dave Brat in supporting GOP candidate in former district Bottom line MORE’s (R-Va.) unexpected primary loss in 2014 to now-Rep. Dave Brat.

New York’s 14th District is one of the most diverse districts in the country, with Hispanics making up half of the population. Ocasio-Cortez is a first-time candidate, with a mother born in Puerto Rico and a father from the Bronx.

Ocasio-Cortez was one of several insurgent, millennial challengers to challenge entrenched Democratic incumbents in New York City on Tuesday. She ran on the need for new representation, criticizing Crowley for living outside the district. His family owns a home outside of Washington, D.C.

She was also heavily outspent by Crowley, who’s been a formidable fundraiser. The congressman spent $3.4 million, while Ocasio-Cortez spent just $200,000.

“This race is about people versus money. We’ve got people, they’ve got money,” Ocasio-Cortez said her viral campaign video.

Ocasio-Cortez scored some last-minute help from the field organizer for Democrat Ayanna Pressley, a Boston City councilor who’s running in a primary against Rep. Michael Capuano Michael (Mike) Everett CapuanoHillicon Valley: Election officials prepare for new Russian interference battle | 'Markeyverse' of online fans helps take down a Kennedy | GOP senators unveil bill to update tech liability protections 'Markeyverse' of online fans helps take down a Kennedy Inside the progressive hunt for vulnerable House Democrats MORE (D-Mass.).

Crowley had scored some big endorsements from colleagues, but one lawmaker endorsement in particular riled up those in progressive circles.

Rep. Ro Khanna Rohit (Ro) KhannaThe Hill Interview: Jerry Brown on climate disasters, COVID-19 and Biden's 'Rooseveltian moment' Congress needs to prioritize government digital service delivery DeJoy defends Postal Service changes at combative House hearing MORE (D-Calif.), a progressive lawmaker who won his own primary challenge against an incumbent in 2016, initially backed Crowley. But after pressure from progressives on social media, Khanna issued a dual endorsement.

While Ocasio-Cortez is so far the only primary challenger to knock off an incumbent, other upstart candidates had strong performances.

Democrat Adem Bunkeddeko, a 30-year-old first-time candidate, is just 2 points behind Democratic Rep. Yvette Clarke Yvette Diane ClarkeLawmakers call for small business aid at all levels of government The Hill's Morning Report - Sponsored by Facebook - Washington on edge amid SCOTUS vacancy The Hill's 12:30 Report - Presented by Facebook - Top tech executives testify in blockbuster antitrust hearing MORE, who’s been in office since 2007.

Democratic Rep. Carolyn Maloney Carolyn Bosher MaloneyPelosi, Democrats unveil bills to rein in alleged White House abuses of power Government watchdog recommends creation of White House cyber director position Top Democrats call for DOJ watchdog to probe Barr over possible 2020 election influence MORE also had her first primary challenge since 2010, but she defeated her opponent Suraj Patel, a 34-year-old hotel executive and professor. She won by double-digits, 58 percent to nearly 42 percent.