capped a historic Tuesday night with a win in California's primary, where polls had suggested a tight race with

Networks projected a Golden State win for Clinton early Wednesday morning, hours after Clinton embraced her standing as the first woman to win a major political party's presidential nomination with a speech before an enthusiastic crowd in Brooklyn.

“Thanks to you, we’ve reached a milestone: the first time in our nation’s history that a woman will be a major party’s nominee,” she said. "So yes, there are still ceilings to break for women, men, for all of us, but don’t let anyone tell you that great things can’t happen in America."

ADVERTISEMENT

Clinton's victory over Sanders was bigger than expected.

The former secretary of State won 56 percent of the vote to Sanders's 43 percent, according to The Associated Press's tally on Wednesday, when the news service declared Clinton the winner. The presumptive Democratic nominee will take a majority of the state's 475 pledged delegates.

Clinton also easily defeated Sanders in New Jersey and upset the Vermont senator in South Dakota. New Mexico provided Clinton a fourth victory.

Sanders won contests in North Dakota and Montana.

Clinton credited Sanders with running a strong campaign during her speech and also phoned her rival, who has been promising to continue his campaign into the Democratic National Convention next month in Philadelphia.

That's much less likely now that Clinton has secured a majority of pledged delegates in the contest and, when superdelegates are counted, topped the magic number of 2,383.

Sanders is set to meet with President Obama at the White House on Thursday.

The Independent senator ramped up his attacks against Clinton heading into the California primary but sounded more conciliatory on Monday after a weekend call with Obama. On Monday, he said his campaign would assess where things stood after Tuesday.

Early Wednesday, Sanders said he would continue to fight but also thanked Clinton for what he said was a "gracious" call. He congratulated her on her victories and acknowledged to supporters, who booed Clinton's name, that the math for a victory was difficult.

Clinton too repudiated Trump on Tuesday night, repeating her line that he is "temperamentally unfit" to serve in the Oval Office.

“It’s clear that Donald Trump does not believe we’re stronger together,” Clinton said. “He has abused his primary opponents and their families, attacked the press for asking tough questions, denigrated Muslims and immigrants. He wants to win by stoking fear and rubbing salt in wounds and reminding us daily just how great he is. We believe we should lift each other up, not tear each other down.”

Clinton has campaign events scheduled next week in Ohio and Pennsylvania, swing states where voters will play a big role in deciding who wins the White House.

Updated at 8:28 a.m.