WASHINGTON — The former leader of the Proud Boys and the founder of the Oath Keepers have been released from prison after their lengthy sentences for seditious conspiracy in the Jan. 6 attack on the U.S. Capitol were wiped away by a sweeping order from President Donald Trump benefiting more than 1,500 defendants.

Enrique Tarrio and Stewart Rhodes were two of the highest-profile Jan. 6 defendants and received some of the harshest punishments in what became the largest investigation in Justice Department history.

Rhodes, of Granbury, Texas, was serving an 18-year prison sentence, and Tarrio, of Miami, was serving a 22-year sentence after they were convicted of orchestrating plots to stop the peaceful transfer of power after Trump, a Republican, lost the 2020 election to Democrat Joe Biden.

Their attorneys confirmed Tuesday that they had been released hours after Trump pardoned, commuted the sentences of, or ordered the dismissal of cases against all the 1,500-plus people who were charged with federal crimes in the riot. Trump’s action paved the way for the release of extremist group leaders convicted in major conspiracy cases, as well people who violently attacked law enforcement officers defending the Capitol.

More than 200 people convicted of Jan. 6 crimes were released from federal Bureau of Prisons custody by Tuesday morning, officials told The Associated Press.

Trump also ordered the attorney general to seek the dismissal of roughly 450 cases that were still pending before judges.

The president defended his decision when pressed by a reporter about the Proud Boys and whether there was a place for them in politics, saying, “Well, we have to see. ... I thought their sentences were ridiculous and excessive. These are people who actually love our country, so we thought a pardon would be appropriate.”

Trump made rewriting the history of the Jan. 6 attack a centerpiece of his bid to return to the White House; the pardon of the rioters fulfills a campaign pledge to free defendants he contends were politically persecuted by the Justice Department.

Trump said the pardons will end “a grave national injustice that has been perpetrated upon the American people over the last four years” and begin “a process of national reconciliation.”

“The implications are clear,” said Julian Zelizer, a Princeton University historian. “Trump will go to great lengths to protect those who act in his name. This is the culmination of his effort to rewrite Jan. 6, in this case using his presidential muscle to free those who were part of a violent assault on the Capitol.”

As defendants celebrated their release outside lockups across the country, the federal prosecutor’s office in Washington that spent the last four years charging rioters filed motions to dismiss cases yet to go to trial.

Democrats slammed the move to extend the pardons to violent rioters, many of whose crimes were captured on camera and broadcast on live TV. Former House Speaker Nancy Pelosi called it “an outrageous insult to our justice system and the heroes who suffered physical scars and emotional trauma as they protected the Capitol, the Congress and the Constitution.”

“Donald Trump is ushering in a Golden Age for people that break the law and attempt to overthrow the government,” Senate Democratic Leader Chuck Schumer said in an emailed statement.

Trump had suggested in the weeks leading up to his return to the White House that instead of blanket pardons, he would look at the Jan. 6 defendants on a case-by-case basis.

Vice President JD Vance said just days ago that people responsible for the violence at the Capitol riot “obviously” should not be pardoned.

More than 1,200 people across the country were convicted of Jan. 6 crimes over the last four years, including roughly 200 people who pleaded guilty to assaulting law enforcement. More than a dozen defendants were convicted of seditious conspiracy, a rare Civil War-era charge and the most serious one brought in the Jan. 6 attack.

Police were dragged into the crowd and beaten. Rioters used makeshift weapons to attack police, including flagpoles, a crutch and a hockey stick. Investigators documented a number of firearms in the crowd, along with knives, a pitchfork, a tomahawk ax, brass knuckle gloves and other weapons. Officers have described in testimony fearing for their lives as members of the mob hurled insults and obscenities at them.

Tarrio, who led the neofacist Proud Boys group as it became a force in mainstream Republican circles, was convicted in 2023 of seditious conspiracy and other crimes after a monthslong trial on allegations that he orchestrated violence to overturn Biden’s 2020 victory over Trump.

Tarrio wasn’t in Washington on Jan. 6 because he had been arrested two days earlier in a separate case and ordered out of the capital city. But prosecutors said he organized and directed the attack by Proud Boys who stormed the Capitol that day.

Rhodes was convicted in a separate trial alongside members of his far-right militia group who prosecutors alleged were intent on keeping Trump in power at all costs. Over seven weeks of testimony, jurors heard how Rhodes rallied his followers to fight to defend Trump, discussed the prospect of a “bloody” civil war and warned that the Oath Keepers may have to “rise up in insurrection” to defeat Biden if Trump didn’t act.