Two out of five Supreme Court justices tasked with deciding the fate of the former Brazilian president, Jair Bolsonaro, have found the ex-leader guilty of plotting a coup.

But Bolsonaro will only be convicted if at least one more justice finds him guilty. The former president has denied all the charges against him.

The first justice to cast his vote, Alexandre de Moraes, said there was no doubt that there had been a coup attempt after Bolsonaro lost the 2022 presidential election to his left-wing rival, Luiz Inácio Lula da Silva.

The second justice, Flávio Dino, also found Bolsonaro guilty of all five charges against him. The trial will continue on Wednesday.

When the session starts at 09:00 local (12:00GMT), all eyes will be on Justice Luiz Fux, whose turn it will be to cast his vote.

If he also finds Bolsonaro guilty on all the charges, the simple majority needed to convict the former president will have been reached.

If convicted, Bolsonaro - who governed Brazil from January 2019 to December 2022 - could face a lengthy sentence of more than 40 years in prison.

So far, the statements by the two justices who have cast their votes have been damning for the former president.

Justice Moraes said that Bolsonaro had led the criminal organisation which he alleged was behind the attempted coup.

Bolsonaro's lawyer, Celso Vilardi, said he did not agree with the two justices' views but stressed he would always respect the decision of the Supreme Court.

The former president and his seven co-defendants in the trial - some of whom are top military officers - stand accused of trying to prevent President-elect Lula from taking up office.

Speaking in court on Tuesday, Justice Moraes said there was plenty of evidence of a plot to kill Lula, his vice-presidential running mate, and Justice Moraes himself.

According to investigators, the defendants failed to enlist enough support from the military for the plan to go ahead.

However, Moraes argued that the defendants' efforts culminated in the storming of Congress, the Supreme Court, and the presidential palace by thousands of Bolsonaro supporters on 8 January 2023 - one week after Lula was sworn into office.

Order was quickly restored and more than 1,500 people were arrested.

But, according to Moraes, Brazil had come close to descending into authoritarianism: We are slowly forgetting that Brazil almost returned to its 20-year dictatorship because a criminal organisation, comprised of a political group, doesn't know how to lose elections.

The ex-president was not in court when Justices Moraes and Dino announced their guilty votes. Bolsonaro's lawyers said their client was suffering from health problems.

His lawyers said that he followed the proceedings from his home in Brasília, where he is being kept under house arrest.

Because he is currently banned from using social media, we have not heard from him during the verdict stage of this trial but he has in the past said that the trial was politically motivated.

The trial has deepened divisions in Brazil, with supporters of Bolsonaro alleging bias. Critics, however, argue that acting decisively against threats to democracy is crucial, especially given Brazil's history of military rule.