Brazil’s Supreme Court is reviewing legislation that could reduce former President Jair Bolsonaro’s 27-year prison sentence for plotting a coup, as well as sentences for hundreds of others convicted over the 2023 attacks on government buildings.

Five of the court’s 10 justices voted in support of the law on Friday. Six votes are needed for a majority. The court is considering the law’s constitutionality in an online session scheduled to run until December 15. Any justice can request an in-person hearing, which could delay a final decision.

Brazil’s Congress passed the legislation in May after overriding a veto by President Luiz Inacio Lula da Silva. Its implementation was suspended pending the Supreme Court’s review.

The law changes how sentences are calculated for people convicted of both attempting a coup and crimes against democratic rule. Instead of adding the prison terms together, judges would impose only the sentence for the more serious offence. If the law takes effect, some people who took part in the January 2023 attacks could receive reduced sentences.

Bolsonaro, 71, was sentenced in September 2025 to 27 years and three months in prison for his role in a plot to remain in power after losing the election to Lula. He is under house arrest because of health problems.

Upholding the law would not automatically reduce Bolsonaro’s sentence. Judges would need to assess individual requests and determine how the new rules apply to each conviction.