This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

WASHINGTON (AP) — Infuriating President Donald Trump, Vice President Mike Pence acknowledged Wednesday he does not have the power to throw out the electoral votes that will make Democrat Joe Biden the next president, dashing Trump’s baseless hopes that Pence somehow could find a way to keep them in office.

Pence, under intense pressure from Trump and his allies to overturn the election results, issued a lengthy statement laying out his conclusion that a vice president cannot claim “unilateral authority” to reject states’ electoral votes.

“It is my considered judgment that my oath to support and defend the Constitution constrains me from claiming unilateral authority to determine which electoral votes should be counted and which should not,” Pence wrote in a letter to members of Congress before he gaveled in the joint session of Congress.

In a remarkable moment underscoring the dramatic split between Trump and his once most loyal lieutenant, Pence released the statement just after he arrived at the Capitol to tally the electoral votes and even as the president was telling thousands of supporters gathered near the White House that Pence could overturn those results.

“If Mike Pence does the right thing we win the election,” Trump told supporters, who later marched through Washington and stormed the Capitol.

Trump tweeted his disapproval of Pence after returning to the White House.

“Mike Pence didn’t have the courage to do what should have been done to protect our Country and our Constitution, giving States a chance to certify a corrected set of facts, not the fraudulent or inaccurate ones which they were asked to previously certify,” he wrote. “USA demands the truth!”

After losing court case after court case, and with no further options at hand, Trump and his allies had spent days in a futile bid to convince Pence — and his legion of supporters — that the vice president had the power to reject electors from battleground states that voted for Biden.

He doesn’t. The Constitution makes clear that the vice president’s role in the joint session is largely ceremonial, much like a master of ceremonies.

While Pence allies had made clear that he intended to defy Trump, the vice president’s public statement was nonetheless a significant departure for Pence, who has spent the last four years defending the president and carefully avoiding his ire.

Enraging Trump risks compromising Pence’s carefully plotted political future. Pence is eyeing a run for the White House in 2024 and had banked on his years of loyalty to Trump to help him stand out in what is expected to be a crowded field. Even out of office, Trump is expected to remain the de facto leader of the Republican Party and a political kingmaker for years to come.

Trump spent much of Wednesday consumed with anger over Pence’s action, even as violent protesters swarmed the U.S. Capitol, forcing lawmakers into hiding and grinding the proceedings to a halt. Even as the violence unfolded, most of Trump’s attention was devoted to Pence, according to a White House official who spoke only on condition of anonymity to discuss internal matters.

Pence was ushered out of the Senate chamber to a secure location as protesters breached the building. And it was the vice president, not Trump, who spoke with the acting defense secretary to discuss mobilizing the D.C. National Guard on Wednesday afternoon.

Pence made clear in his three-page letter that he would follow the Constitution, not the commander in chief, no matter the political repercussions. He acknowledged a vice president has no unilateral power under the Constitution and the congressional rules that govern the Electoral College tally. The rules make clear it is up to members of the House and Senate to voice objections and assess their merits.

And so, as Trump’s rally continued in the bitter cold, Pence opened the proceedings and began to open the certificates of the electoral votes from each state and present them to the appointed “tellers” from the House and Senate in alphabetical order. The process was soon put on emergency hold as protesters broke into the Capitol, overwhelmed police and forced the evacuation of the vice president and members of Congress.

“The violence and destruction taking place at the US Capitol Must Stop and it Must Stop Now,” Pence later tweeted. “Anyone involved must respect Law Enforcement officers and immediately leave the building.”

When the count ultimately ends, Pence will then have the task of announcing the contests’ winners and formalizing his own defeat.

Despite claims by Trump and his allies, there was not widespread fraud in the election. This has been confirmed by a range of election officials and by William Barr, who stepped down as attorney general last month. Neither Trump nor any of the lawmakers promising to object to the count have presented credible evidence that would change the outcome.