A jurist decided a progressive party should remove a controversial Democrat from a New York election.

The Supreme Court in Queens County has ruled that Rep. Alexandria Ocasio-Cortez (D-N.Y.) should no longer be listed in an upcoming union-backed primary election to be held on June 23.

“It is hereby stipulated that the Respondent Board of Elections in the City of New York be ordered to remove the name of Alexandria Ocasio-Cortez from the ballot in the June 23, 2020, Working Families Party Primary Election for representative in Congress from the 14th Congressional District,” Justice Phillip Hom said in a short form order obtained by rival Democratic candidate Michelle Caruso-Cabrera.

Hom made the statement after party members decided to proceed with the election on the condition AOC had nothing to do with them.

“This constitutes the order and decision of the court,” he said.

Caruso-Cabrera, who was formerly chief international news correspondent at CNBC, believes the party made the difficult decision after working-class voters across two New York City boroughs had become dissatisfied with AOC’s performance in Congress.

“AOC has hurt working people of the Bronx and Queens with her votes and creates disunity within our party,” she said on Twitter. “Her own campaign spokesman ran away from her in March. No wonder why pro-union forces do not want her and neither do our neighborhoods.”

The candidate claimed the decision had created chaos for her rival’s re-election campaign.

“The AOC campaign is in shock,” she said on her campaign website.

Fox News revealed AOC secured 13 out of 15 required signatures from Working Families Party members, potentially delivering a significant blow to her chances of winning any Democratic primary fight.

The Working Families Party helps jointly endorse progressive candidates through New York’s fusion voting system, which permits multiple endorsements across ballot lines, to push Democratic candidates to the left side of politics.

Caruso-Cabrera’s attorney Martin O’Connor confirmed with Fox the lackluster support means AOC will also not appear on the party’s ballot line at the general election on Nov. 3.

In her first term in Congress, AOC has succeeded in making several controversial statements on different issues. She recently urged all U.S. residents to continue living in isolation, even if Congress decides to lift social distancing rules used to contain the Chinese Communist Party (CCP) Virus.

“When we have this discussion about going back or reopening, I think a lot of people should just say ‘No, we are not going back to that’” AOC told VICE TV’s “Seat at the Table.”

The remarks came after program host Anand Giridharadas began speculating that President Donald Trump’s concerns about what others think about his masculinity were “literally threatening to annihilate the planet.”

AOC wanted those who had a job before the national shutdown to reject any offer from their employers to return to work. She also suggested people would enjoy much greater freedom, if they did not return to work immediately.