Donald Trump cemented his election as U.S. president Monday, reaching the requisite 270 votes from members of the Electoral College as they cast ballots in each state and the District of Columbia.

After electors in Texas – which carries 38 votes total – made their choices late Monday afternoon, Trump reached the required threshold.

Amid efforts to sway members of the Electoral College from voting for Trump, protesters gathered at statehouses from Boston and Denver to Phoenix and Augusta, Maine. In Harrisburg, Pennsylvania, some demonstrators reportedly were removed by police after blocking a street. Protesters there also chanted, "No Trump, no KKK, no fascist USA!" according to The Associated Press.

Photos: Trump's Cabinet Picks View All 33 Images

Yet in most states, voting went as expected, with electors generally hewing to the results determined by the voting public on Nov. 8.

Thirty-six Texas electors voted for Trump, with Ohio Gov. John Kasich and former Rep. Ron Paul of Texas each garnering one vote. Maine also awarded one of its four electoral votes to Trump for defeating Democrat Hillary Clinton in its 2nd Congressional District.

Four electors in Washington state – which voted overwhelmingly for Clinton on Nov. 8 – broke ranks, with three casting ballots for former Secretary of State Colin Powell and a fourth opting for Native American activist Faith Spotted Eagle. Politico reports the moves to Powell marked the first time a major-party elector voted for someone in the opposing major party, as well as the first time electoral votes were cast for an African-American member of the GOP.

And in Minnesota and Maine, electors reportedly attempted to cast ballots for Sen. Bernie Sanders of Vermont, who opposed Clinton in the Democratic presidential primary. An alternate was sworn in to replace the Minnesota elector, while the Maine elector's move was ruled out of order and he chose Clinton on a second try.

An elector who did not vote for Clinton also was replaced in Colorado, where the entire slate went for her.

NEW: @ColoSecofState will refer elector Micheal Baca's alleged breaking of state law to AG @CynthiaHCoffman for poss prosecution. #9news — Brandon Rittiman (@BrandonRittiman) December 19, 2016

Ahead of Monday's voting, Trump was expected to get 306 electoral votes to Clinton's 232. With only Hawaii outstanding, Trump had totaled 304 and Clinton 224.