Donald Trump has surpassed 270 votes in Electoral College, giving him enough to formally win the U.S. presidency.

Electors gathered Monday in every state to formally elect Donald Trump president even as anti-Trump forces try one last time to deny him the White House.

The vote ensures that the billionaire will become America's 45th president.

Hillary Clinton won the national popular vote in the Nov. 8 presidential election by more than 2.6 million votes. Protesters rallied at state capitols around the country against Trump's expected victory in the Electoral College Monday.

Trump had won 306 electoral votes to Clinton's 232 when the votes were counted in November.

Note: The numbers below are from the Associated Press. The text does not describe each individual state's results, but the tally includes all states reporting.

6:10 p.m. - Donald Trump, 304 | Hillary Clinton, 221 | Other, 6

California's 55 Electoral College members have cast their votes in favor of Democrat Hillary Clinton and her running mate, Tim Kaine, in a largely ceremonial proceeding marking the end of the presidential election season.

The electors, all selected by California Democratic officeholders or Democratic candidates for office, met at the state Capitol in Sacramento. Hundreds of protesters gathered outside the Capitol, holding signs saying "Not My President," ''Dump Trump" and "Electoral College: Save U.S."

Clinton won about 62 percent of California's popular vote in November.

5:28 p.m. - Donald Trump, 304 | Hillary Clinton, 166 | Other, 6

Texas put the Republican president-elect over the 270-vote threshold. Electors had been deluged with emails, phone calls and letters urging them not to support Trump. Two Texas electors cast protest votes against Trump, but in the end he had more than he needed.

The Electoral College has 538 members, with the number allocated to each state based on how many representatives it has in the House plus one for each senator. The District of Columbia gets three, despite the fact that the home to Congress has no vote in Congress.

4:58 p.m. - Donald Trump, 268 | Hillary Clinton, 166 | Other, 4

Iowa's six Electoral College voters have cast their ballots for Republican Donald Trump, bringing him within a breath of the 270 votes required to formally win the presidency.

That brings his Electoral College total to 268, while Hillary Clinton's stands at 166.

She won the popular vote and protests simmered around the country, urging members of the Electoral College to rebel and vote for someone other than Trump.

4:51 p.m. - Donald Trump, 262 | Hillary Clinton, 166 | Other, 4

Three Montana members of the Electoral College have voted for Trump.

That brings his elector total to 262 — just short of the 270 required to formally win the presidency.

Clinton's total is 166.

4:46 p.m. - Donald Trump, 259 | Hillary Clinton, 166| Other, 4

New Jersey's 14 electors formally selected Clinton for president on Monday, bringing her total to 166 — still behind Trump and the number required to become president.

Trump's Electoral College total stands at 259, just shy of the 270 he needs to formally win the White House.

Solidly Democratic New Jersey awarded all of the state's Electoral College votes to the former senator and secretary of state.

4:18 p.m. - Donald Trump, 256 | Hillary Clinton, 139 | Other, 4

The eleven members of the Electoral College from Massachusetts have chosen Clinton for president and brought her total to 139.

Trump has 256 of the 270 votes required to win the White House.

4:00 p.m. - Donald Trump, 245 | Hillary Clinton, 128 | Other, 4

Four members of the Electoral College in Washington state cast their votes for a candidate other than Clinton, the statewide popular vote winner.

It's the first time in four decades the state's electors have broken from the popular vote for president. Washington's 12 electors met Monday afternoon in the state Capitol to complete the constitutional formality. Clinton got eight votes while other candidates got the remaining four.

3:21 p.m. - Donald Trump, 245 | Hillary Clinton, 120

Trump is closing in on the 270 votes he needs to formally win the presidency.

Arizona and Missouri electors pushed him to 245 votes Monday, while Democrats Hillary Clinton had 120.

3:01 p.m. - Donald Trump, 219 | Hillary Clinton, 120

Electors in Wyoming and one in Maine have pushed Trump closer to formally winning the presidency.

The votes bring Trump's total to 219 electors. Oregon, New Mexico and Colorado — plus three in Maine — bring Clinton's total to 120.

2:40 p.m. - Donald Trump, 215 | Hillary Clinton, 97

A Democratic Maine elector's faithless vote for U.S. Sen. Bernie Sanders was ruled improper. He has switched his vote to Clinton.

David Bright wrote on his Facebook page earlier today that he planned not to vote for Clinton because he did not believe a vote for her would make a difference.

"I cast my Electoral College vote for Bernie Sanders today to let those new voters who were inspired by him know that some of us did hear them, did listen to them, do respect them and understand their disappointment," Bright wrote. "I want them to know that not only can they come back to the process, but that they will be welcomed back; that there is room in the Democratic Party for their values."

2:30 p.m. - Donald Trump, 215 | Hillary Clinton, 96 | Bernie Sanders, 1

Electors in Michigan and Florida have cast their combined 45 votes for Trump, making his his Electoral College total jump closer to the amount required to formally win the presidency.

The states, with 16 and 19 votes respectively, bring Trump's total to 215 electors. Two hundred-seventy votes are required to win the White House.

2:14 p.m. - Donald Trump, 166 | Hillary Clinton, 96 | Bernie Sanders, 1

North Dakota, South Dakota and Utah have pushed Trump closer to the 270 votes required to win the presidency.

The states' electors gave Trump 166 electoral votes to Clinton's 96 as protests simmered around the country.

2:07 - Donald Trump, 154 | Hillary Clinton, 86 | Bernie Sanders, 1

With about half the states reporting, Trump had 154 electoral votes. Clinton has 86 votes.

1:44 - Donald Trump, 144 | Hillary Clinton, 59 | Bernie Sanders, 1

The latest votes give 10 electors each to Trump and Clinton in Monday's Electoral College vote for president.

Wisconsin's 10 electors have chosen statewide winner Trump, bringing his total to 144 electoral votes. Maryland's 10 electors have chosen Clinton, bringing her total to 59.

1:10 p.m. - Donald Trump, 134 | Hillary Clinton, 43 | Bernie Sanders, 1

Electors from Pennsylvania, North Carolina Ohio and Louisiana have given Trump 134 of the 270 electoral votes required to formally win the presidency.

The new total includes 20 votes from Pennsylvania, 18 from Ohio, 15 from North Carolina and eight from Louisiana.

Clinton has 43 electoral votes, including 29 from her home state of New York.

12:50 p.m. - Donald Trump, 68 | Hillary Clinton, 43 | Bernie Sanders, 1

Trump has won 68 electoral votes in Monday's tally of the Electoral College.

The new total includes all 16 presidential electors in Georgia and eight in Kentucky, as well as electors in South Carolina, Oklahoma, West Virginia, Tennessee, Mississippi and Arkansas.

12:44 - Donald Trump, 44 | Hillary Clinton, 43 | Bernie Sanders, 1

New York's 29 members of the Electoral College have cast their ballots for Clinton, who won the state .

The electors gathered Monday in the state Senate chambers in the Albany Capitol.

Electors in attendance included Gov. Andrew Cuomo, former President Bill Clinton and New York City Mayor Bill de Blasio, all three Democrats.

The electors broke out in applause when the results were read.

Dozens of protesters gathered outside to voice their concerns about the president-elect and to urge electors in other states to cast their ballots for Clinton or another candidate, even if their states voted for Trump.

12:34 - Donald Trump, 44 | Hillary Clinton, 17 | Bernie Sanders, 1

Connecticut's seven electors have formally cast their votes for Clinton, winner of the state's presidential election.

The electors, all Democrats, chose Clinton for president and U.S. Sen. Tim Kaine for vice president in Monday's solemn ceremony. It was held in the state Senate chamber.

While the outcome was expected, about 50 protesters rallied outside the state Capitol, expressing concern with the Electoral College process and whether Republican Donald Trump is suitable to be the next president.

Dr. Carol Swenson, a Westport psychologist, held a sign urging electors to vote for "sanity." She calls Trump "a dangerous person" and says she felt the need to speak out.

Some Connecticut electors say it's time to scrap or considering changing the Electoral College System.

11:59 a.m. - Donald Trump, 44 | Hillary Clinton, 10 | Bernie Sanders, 1

Clinton has 10 electoral votes, but she's still far behind Trump's total of 44 in Monday's formal tally.

11:36 a.m. - Donald Trump, 44 | Hillary Clinton, 10 | Bernie Sanders, 1

With a win in South Carolina, Trump now has won 44 electoral votes of the 270 he needs to formally win the presidency.

11:31 p.m. - Donald Trump, 44 | Hillary Clinton, 10 | Bernie Sanders, 1

One faithless elector has cast a vote in Maine — for Sen. Bernie Sanders.

David Bright said on his Facebook page that he cast his vote for Sanders, instead of Clinton because his vote would not have helped her win.

"I cast my Electoral College vote for Bernie Sanders today to let those new voters who were inspired by him know that some of us did hear them, did listen to them, do respect them and understand their disappointment," he wrote.

11:30 a.m. - Donald Trump, 35 | Hillary Clinton, 10

With wins in Arkansas, Mississippi, Oklahoma, Tennessee and West Virginia, Trump now has won 35 electoral votes of the 270 he needs to formally win the presidency.

Tennessee's 11 presidential electors have cast their ballots for Trump.

They were required by state law to vote for Trump, who overwhelmingly carried Tennessee in November.

10:31 a.m. - Donald Trump, 0 | Hillary Clinton, 3

Vermont's three members of the Electoral College are the first to report their vote for president.

All three chose Clinton, reflecting the state's vote in the Nov. 8 presidential election.

The Vermont electors are Gov. Peter Shumlin, state Rep. Tim Jerman and Martha Allen, president of the Vermont chapter of the National Education Association.

New York real estate magnate Trump won the race nationally. But in Vermont, Clinton got 55.7 percent of the vote, while Trump received 29.8 percent.