Two lawsuits are brewing in New York state, seeking to stop the New York primary election results from being certified. The suits, one filed by attorney Mark Moody and one filed by attorneys for Election Justice USA, are approaching the same problem from two different angles. (Read more about Mark Moody here.) If either lawsuit is approved, what could this mean for the delegate count in New York? Could Bernie Sanders pick up any additional delegates from the primary? His motion argues on grounds that a closed primary is unconstitutional according to New York state law.

Here’s what you need to know.

1. Mark Moody’s Motion Seeks To Have the New York Primary Declared Unconstitutional

Attorney Mark Moody filed an emergency motion and class action lawsuit in the New York state Supreme Court asking for the certification of New York primary election results to be stopped. On Thursday, a judge scheduled the hearing for Friday at noon Eastern. After an hour of oral arguments, the judge decided to take the weekend to think over all the information that was presented, reported Jordan Chariton of The Young Turks.

The judge ruled against a temporary restraining order to stop the certification, Jordan Chariton reported. But he also said that “the Court still has an open mind as to whether petitioner might ultimately prevail on the merits… Petitioner may be entitled to declaratory relief; but this Court finds… given what an uphill battle he faces … he is not entitled to stop the gears that are already in motion…”

NY Judge says he is still "open minded" that stopping #NYPrimary certification could happen..it's 3 days away pic.twitter.com/ig1FUUSX7A — Jordan (@JordanChariton) May 2, 2016

Mark Moody’s class action lawsuit is seeking to have the closed primary in New York declared unconstitutional. He also wants to stop the results of the New York primary from being certified, New York Daily News reported. He filed a lengthy lawsuit, stating that requiring New York voters to choose a party affiliation ahead of casting a vote violates the New York state constitution.

He noted in the lawsuit that even Donald Trump’s own children, Eric and Ivanka, couldn’t vote for their dad because they were registered Democrats. Moody said in his suit:

“The Trump children and I, together with millions of other New Yorkers, were dis(en)franchised.”

If a presidential candidate’s own children couldn’t figure out how to register on time, there’s obviously a problem with the system, he pointed out.

Moody’s lawsuit is based on the idea that the closed primary is unconstitutional according to New York state laws. To read court documents for the lawsuit, please see this link.

2. Election Justice USA Wants All Provisional Votes Counted in the Primary

Election Justice USA’s lawsuit is separate from Moody’s and not connected in any way. Election Justice USA’s suit wants all provisional ballots to be counted based on the fact there were widespread purges and party affiliation changes that occurred for reasons that aren’t yet known.

EJUSA’s attorneys have been working pro bono on the lawsuit. They intend to file their own emergency order on Tuesday, seeking an injunction to stop certification of the New York primary results.

This means that if Moody’s injunction isn’t accepted on Friday, there will be a different chance for an injunction on Tuesday.

According to Gothamist, the lawsuit reads:

“Plaintiffs are in imminent harm of losing their right to vote. They have beseeched the various Boards of Elections without result. Nothing can save their right to vote save an order from this Court.” The case is called Campanello et al v. New York State Board of Elections et al. The official link to the case is here.

To read more about the case, you will want to view the following files:

Verified Complaint

Affidavit of Emergency

Order to Show Cause for Preliminary Injunction, Temporary Restraining Order, and Declaratory Judgement

Attachments Part 1

Attachments Part 2

Attachments Part 3

Attachments Part 4

You can also read more about Election Justice USA’s lawsuit in the story below:

3. Hundreds of Thousands of New York Voters Couldn’t Cast a Ballot in the Primary

Hundreds of thousands of residents in New York lost their constitutional right to vote in the primary for reasons that aren’t fully understood. In Brooklyn alone, 126,000 Democratic voters were removed from the rolls and it’s not clear how many of those were removed incorrectly, SILive reported. Michael Ryan, executive director of the Board of Elections, said the agency was behind in maintaining its voter records and removed all ineligible voters are once. It’s possible, he said, that letters verifying voters’ addresses didn’t go out at all and those voters were simply removed from the rolls. Republican Diane Haslett-Rudiano, the chief clerk in Brooklyn, was suspended without pay pending an internal investigation of how the 126,000 voters were purged in Brooklyn.

But there were even more problems beyond just those among the 126,000 purged in Brooklyn. Many more, throughout the state, arrived to vote in the primary only to be told that they weren’t registered or they were affiliated with the wrong party. Many voters who checked their registration prior to the election day discovered the error, and not all of them were able to get the error fixed.

It’s still not known what is causing such widespread errors in voter registration, problems which are also being reported in many other states.

You can read more about the voters’ issues and stories below:

4. The Election Results Will Likely Be Certified in Early May

According to Jordan Chariton of The Young Turks, it may not be officially known when New York election results are scheduled to be certified, but his sources tell him that the date is May 5. He shares more information in the Facebook video above.

It’s not known exactly how many provisional and affidavit ballots were cast in New York state, nor how many people were turned away from voting altogether. Election Justice USA is seeking to get those exact numbers when counties audit their votes:

5. Delegate Counts Could Change, Allowing Sanders to Pick Up More, Depending on the Results of These Lawsuits

With the huge number of voters who had problems or weren’t able to vote at all in New York, an overarching decision that allows their votes to be counted or declares the primary unconstitutional could certainly change the delegate count, depending on what type of remedy is chosen.

In New York City, as many as 121,056 provisional and affidavit ballots were cast, according to SI Live. That includes 40,000 provisional ballots in Brooklyn, according to Inquistir. But these numbers don’t even include the people who didn’t vote at all because they were told they weren’t registered and were turned away from the polls without filling out a provisional ballot.

The Inquisitr recently reported that Michael Ryan, executive director of the Board of Elections, promised every eligible provisional ballot in New York City will be counted. The problem is with the word “eligible.” That doesn’t mean that literally every provisional ballot will be counted, which is what Election Justice USA is pushing for.

Supposing that every provisional ballot does eventually get counted, this could change the delegate count quite a bit. Here’s an example.

In the primary, Hillary Clinton beat Bernie Sanders 58 percent to 42 percent, according to The New York Times. She had 1,054,038 votes in the state to Sanders’ 763,469 votes, giving her 139 delegates to Sanders’ 108. Since delegates are awarded proportionally in the Democratic primary, a change in vote numbers could certainly make a difference in the delegate count.

For example, in New York City, Clinton had 586,017 votes to Sanders’ 338,313, with a total of 924,330 votes cast, giving her 63.4 percent over Sanders’ 36.6 percent, according to the New York Times. If all the 121,056 provisional ballots in New York City went to Sanders and were counted, that would change the count to 586,017 votes for Clinton and 459,369 votes for Sanders. This would give Clinton a New York City lead of 56 percent versus Sanders’ 44 percent. She would still lead, but by less.

If all the provisional ballots throughout the state of New York were counted, Clinton would likely still win. But because delegates are awarded proportionally, she might win by a smaller margin, which would mean that some delegates would flip to Sanders.

At this point, we’re not sure how many provisional ballots will be counted and from which cities. Election Justice USA wants them all counted. Depending on the results of these lawsuits, some flipped delegates aren’t outside the realm of possibilities.