On Tuesday, voters in California, New Jersey, New Mexico, South Dakota and Montana cast their ballots in their respective primaries. Registered Democrats in North Dakota will caucus for their candidate of choice.

Out of the six states holding contests, California awards the most delegates for both parties. The Democratic candidates have a total of 475 delegates up for grabs. The Republican candidates have a total of 172 delegates possible to win. The delegates are awarded proportionately for both parties.

Until very recently, the California primary was going to be a deciding factor in the Republican and Democratic races for the first time in decades. Historically, the contests are decided earlier in the primary season, but this election cycle's unpredictable nature has given the California primary more weight.

According to recent polling, businessman Donald Trump, the presumptive nominee for the Republican party will mostly likely be victorious in each of the voting states.

The Democratic polls are more contentious, with Vermont Sen. Bernie Sanders coming within 2 percentage points of former Secretary of State Hillary Clinton in California.

On Monday evening, the Associated Press reported Clinton had enough delegates to become the presumptive nominee for the Democratic Party. She is on track to be the first woman to secure a major party's presidential nomination.

In response, the Sanders campaign issued a statement saying, "Secretary Clinton does not have and will not have the requisite number of pledged delegates to secure the nomination."

Sanders's statement is referring to the fact that the delegate count that the AP reported included superdelegates, but Clinton still does not have enough pledged delegates to pass the 2,383 threshold required to earn the party's nomination without including superdelegates.

Clinton also won a high-profile endorsement from House minority leader Nancy Pelosi on Tuesday morning. Pelosi's endorsement could signal more high profile endorsements for Clinton. Pelosi represents San Fransisco and was the first female to become the Speaker of the House of Representatives.

Now, voters in California and the remaining states can still challenge the presumptive nominees by voting for the parties' other candidates, including some who have ended or suspended their campaigns, but are still on the ballots. The races will finally be decided in July at the national party conventions.

Sanders has focused his campaign's efforts in California, including several events in the past few days. Even if he does well in Tuesday's primaries, he will need more superdelegates, many of whom have already pledged support to Clinton, on his side before they vote at the Democratic National Convention if he wants to earn the party's nomination.

Sanders will have one more shot to secure final pledged delegates in the last Democratic primary contest in the District of Columbia on June 14.

Reach Staff Reporter Hannah Vega here; follow her on Twitter here.