The New York State Board of Elections effectively canceled the presidential primary on Monday, when the two Democratic commissioners voted to strip every candidate, except former Vice President Joe Biden, off the ballot because they were no longer actively seeking the presidency.

The move infuriated supporters of Sen. Bernie Sanders, in particular. Sanders, like Yang, has also suspended his campaign but publicly said he wished to remain on the ballot for the remaining primaries so he could continue to be awarded delegates to sway the national convention.

The suit filed by Yang also argued that axing the Democratic presidential primary would hurt down-ballot candidates.

The lawsuit argued that canceling the presidential primary would be “suppressing voter turnout as voters will have less incentive to vote if they cannot cast a vote for the highest office in the land, and thereby negatively impact challenger candidates” such as Jonathan Herzog, who is running a longshot primary bid against Democratic Rep. Jerry Nadler in New York's 10th District. Herzog is also a party to the lawsuit.

New York’s presidential primary was originally consolidated with the state”s other federal and state primaries on June 23. For the remaining primaries, Gov. Andrew Cuomo ordered that any New Yorker could vote absentee (typically, New York requires a valid excuse for voters to cast an absentee ballot), and that every voter in the state be mailed an absentee-ballot request form.

