Donald Trump PHOTO COURTESY OF FACEBOOK

WASHINGTON (AP) —Donald Trump was indicted on felony charges Tuesday for working to overturn the results of the 2020 election in the run-up to the violent riot by his supporters at the U.S. Capitol, with the Justice Department acting to hold him accountable for an unprecedented effort to block the peaceful transfer of presidential power and threaten American democracy.

The four-count indictment, the third criminal case against Trump, provided deeper insight into a dark moment that has already been the subject of exhaustive federal investigations and captivating public hearings. It chronicles a months-long campaign of lies about the election results and says that, even when those falsehoods resulted in a chaotic insurrection at the Capitol, Trump sought to exploit the violence by pointing to it as a reason to further delay the counting of votes that sealed his defeat.

Even in a year of rapid-succession legal reckonings for Trump, Tuesday’s indictment, with charges including conspiring to defraud the United States government that he once led, was stunning in its allegations that a former president assaulted the “bedrock function” of democracy. It’s the first time the defeated president, who is the early frontrunner for next year’s Republican presidential nomination, is facing legal consequences for his frantic but ultimately failed effort to cling to power.

“The attack on our nation’s Capitol on Jan. 6, 2021, was an unprecedented assault on the seat of American democracy,” said Justice Department special counsel Jack Smith, whose office has spent months investigating Trump. “It was fueled by lies, lies by the defendant targeted at obstructing a bedrock function of the U.S. government: the nation’s process of collecting, counting and certifying the results of the presidential election.”

The Trump campaign called the charges “fake” and asked why it took two-and-a-half years to bring them. Trump was the only person charged in Tuesday’s indictment. But prosecutors obliquely referenced a half-dozen coconspirators, including lawyers inside and outside of government who they said had worked with Trump to undo the election results. They also advanced legally dubious schemes to enlist slates of fake electors in battleground states won by Democrat Joe Biden to falsely claim that Trump had actually won them.

The indictment accuses Trump and his allies of trying to “exploit the violence and chaos” by calling lawmakers into the evening on Jan. 6 to delay the certification of Biden’s victory.

It also cites handwritten notes from former Vice President Mike Pence that give gravitas to Trump’s relentless goading to reject the electoral votes. Pence, who is challenging Trump for the GOP presidential nomination, declined overtures from a House panel that investigated the insurrection and sought to avoid testifying before the special counsel. He appeared only after losing a court fight, with prosecutors learning that Trump in one conversation derided him as “too honest” to stop the certification.

Trump is due in court Thursday, the first step in a legal process that will play out in a courthouse situated between the White House he once controlled and the Capitol his supporters once stormed. The case is already being dismissed by the former president and his supporters — and even some of his rivals — as just another politically motivated prosecution.

Yet the case stems from one of the most serious threats to American democracy in modern history.