Thousands of opponents of leftist new President Luiz Inacio Lula da Silva stormed the seats of power in Brazil's capital on January 8, fired up by anti-"communist" rhetoric and allegations of election fraud.
Here's what we know.
- Rioters arrested -
In all, the Federal Police detained 1,843 people after the riots in Brasilia.
Most of them were taken from an encampment outside the army headquarters in the capital, where they had been protesting for two months, clamoring for the military to prevent Lula's inauguration, which went ahead on January 1.
According to the latest update by the Federal Police, 1,159 remained under arrest Wednesday after 684 -- many of them old or ill, parents of young children and homeless people -- were released to await trial in freedom.
Police from the district of Brasilia arrested another 209 on the day of the uprising.
Charges against the rioters include terrorism, criminal association, involvement in an attack against the democratic state, participation in an attempted coup d'etat and incitement to crime.
Countering claims of mistreatment, the police said hundreds of detainees received three meals and a snack every day, and had access to medical care.
More than 430 were seen by doctors and 33 taken to health facilities.
Justice Minister Flavio Dino said on Friday that court appearances have started, without providing details.
- Top dogs -
A Supreme Court judge on Friday gave the green light for far-right ex-president Jair Bolsonaro, beaten narrowly by Lula at the ballot box in October, to be included in an investigation into the instigators of the riots.
The Federal Police on Saturday arrested Brasilia security chief Anderson Torres, a former Bolsonaro justice minister, for alleged "collusion" with the rioters.
Also in custody is Fabio Augusto, who led the military police in Brasilia and, like Torres, was fired after the uprising.
The Supreme Court has also ordered an inquiry into the conduct of Brasilia governor Ibaneis Rocha and his interim public security secretary Fernando de Sousa Oliveira.
Rocha was relieved of his duties for 90 days.
Lula and Dino have said the violence could not have happened without collusion from members of the security forces. An investigation is under way.
- Financiers -
The attorney general's office has identified 52 individuals and seven companies suspected of having helped pay for the uprising.
According to national broadcaster TV Globo, the suspects included leaders in the pro-Bolsonaro agro-business sector.
They are thought to have paid for the food and transport of rioters who arrived in Brasilia from several regions of the country on about 100 passenger buses.
Investigations are ongoing to track down other masterminds and financiers.
- Damage -
The extent of the damage has yet to be determined in monetary terms, but many of the items trashed when rioters broke into the presidency, Congress and Supreme Court are irreplaceable parts of Brazil's cultural heritage.
The buildings, all designed by famed architect Oscar Niemeyer, had their windows smashed, furniture broken, floors and walls burnt and scratched, and facades scarred by anti-Lula graffiti.
The capital is inscribed on UNESCO's World Heritage list.
In an initial report of damage, Brazil's Iphan heritage institute documented a seemingly never-ending trail of destruction.
Most of the building damage was reversible, it said, but individual items may not be salvageable.
Among the most iconic items damaged were the modernist canvas "As Mulatas" painted by Emiliano Di Cavalcanti, and the sculpture "A Justica" by Alfredo Ceschiatti.
Numberous canvases, busts, statues, ceramic vases and pieces of antique furniture were defaced.
UNESCO has offered its help in restoring damaged artworks.
- Driving force -
Bolsonaro had done his best on the campaign trail to raise the specter of "communism" under leftist Lula, who had already served two previous presidential terms from 2003 to 2010.
He also hammered repeatedly on Lula's graft conviction, which has been overturned.
Long before the election, Bolsonaro sought to cast doubt, without showing any evidence, on the credibility of Brazil's internationally-hailed electoral system.
When he did lose, millions were left fearful of Lula and the left, and distrustful of his victory.
"All we want is freedom," one arrested rioter told AFP.
Experts say disinformation, much of it spread by Bolsonaro himself, was in large part responsible for the radicalization of the anti-Lula faction in Brazil.