SAN FRANCISCO (AP) — History already in hand, Hillary Clinton will celebrate becoming the first woman to lead a major American political party Tuesday following votes in California, New Jersey and four other states — contests Clinton hopes send her into the general election in strong standing.

Clinton reached the 2,383 delegates needed to become the presumptive Democratic presidential nominee on the eve of Tuesday’s voting, according to an Associated Press tally. Her total is comprised of pledged delegates won in primaries and caucuses, as well as superdelegates — the party officials and officeholders who can back a candidate of their choosing.

Clinton greeted news of her achievement with a measured response, wary of depressing turnout and eager to save the revelry for a big victory party Tuesday night in Brooklyn. During a campaign stop in California, Clinton told a cheering crowd she was on the brink of a “historic, unprecedented moment,” but said there was still work to do in her unexpectedly heated primary battle with Vermont Sen. Bernie Sanders.

“We’re going to fight hard for every single vote,” Clinton declared.

Heading into Tuesday’s voting, Clinton has 1,812 pledged delegates and the support of 571 of the 714 superdelegates, according to the AP count.

The AP surveyed the superdelegates repeatedly in the past seven months. While they can change their minds, those counted in Clinton’s tally have unequivocally told the AP they will support her at the party’s summer convention.

During a rally Monday evening in San Francisco, Sanders said a victory in California would give him “enormous momentum” in his bid to push the Democratic primary to a convention fight. Sanders is urging superdelegates to drop their support for Clinton before the gathering in Philadelphia, arguing he is a stronger candidate to take on presumptive Republican nominee Donald Trump.

But Sanders has so far been unable to sway the superdelegates, and there were signs Monday that he was taking stock of his standing in the race. Speaking to reporters, Sanders said he planned to return to Vermont on Wednesday and “assess where we are” following the California results.

The senator’s comments came on the heels of a weekend phone call with President Barack Obama, who has stayed out of the Democratic primary to date but is poised to endorse Clinton as early as this week.

“The president intends certainly through the fall, if not earlier, to engage in this campaign,” White House spokesman Josh Earnest said. “That’s an opportunity the president relishes.”

Obama and Clinton battled ferociously for the Democratic nomination in 2008. Tuesday marks eight years to the day Clinton conceded to Obama in an emotional speech where she noted she was unable to “shatter that highest, hardest glass ceiling.”

The former secretary of state reflected on breaking that barrier as she made her final swing through California on Monday, and she’s expected to do so again on Tuesday night in New York.

“It’s really emotional,” Clinton said. “I’m someone who has been very touched and really encouraged by this extraordinary conviction that people have.”

Glenda McCarthy, a 64-year-old from San Pedro, California, is among the loyal Clinton supporters who have longed for this milestone moment.

“I’ve been waiting for this for so long,” McCarthy said. “Not just a woman, but a woman who is so strong.”

Clinton’s victory is broadly decisive. She leads Sanders by more than 3 million cast votes, by 291 pledged delegates and by 523 superdelegates. She won 29 caucuses and primaries in states and U.S. territories to his 21 victories.

Clinton has been eager to move past the protracted primary and fully turn her attention to her general election battle with Trump. She energized Democrats with a blistering speech last week challenging Trump’s qualifications for the presidency, reassuring supporters that she’s prepared for a bruising campaign against the unpredictable businessman.

Trump vanquished his remaining Republican rivals about a month ago, a stunning achievement for the untested political candidate. Despite his controversial statements about minorities and his vague policy proposals, many Republicans quickly consolidated around his nomination.

But Trump has continued to irritate GOP officials, including with his recent criticism of a U.S. district court judge. Trump has said Judge Gonzalo Curiel can’t be impartial in a legal case involving the businessman because his parents were born in Mexico and Trump wants to build a wall along the border.

Several leading Republicans, as well as legal scholars, have flatly rejected the logic of that argument.

Trump also continues to struggle to build out a robust general election campaign staff in battleground states or a national fundraising network, though the real estate mogul insists he can win without the trappings of a traditional campaign.

Trump was also spending Tuesday in New York, with a primetime event scheduled at his golf resort in Westchester.

New Jersey and California are the biggest prizes up for grabs Tuesday, with Montana, New Mexico, North Dakota and South Dakota also holding contests. The final Democratic primary will be held next week in the District of Columbia.

___

Pace reported from Washington. Associated Press writers Catherine Lucey in Compton, California, and Hope Yen, Stephen Ohlemacher and Lisa Lerer in Washington contributed to this report.

___

Follow Julie Pace and Ken Thomas on Twitter at: http://twitter.com/jpaceDC and http://twitter.com/KThomasDC