SAO PAULO >> Top Brazilian military leaders declared to police that former President Jair Bolsonaro presented them a plan to reverse the results of the 2022 election he lost, but they refused and warned him they would arrest him if he tried it, according to judicial documents released Friday.

The testimonies of Bolsonaro’s former Army and Air Force commanders to police, and released by the Supreme Court, is the first direct mention of the right-wing leader as actively participating in a conspiracy to ignore the results of the October 2022 election won by his rival, current President Luiz Inácio Lula da Silva.

The statements by military commanders during Bolsonaro’s term add to his legal woes as prosecutors seek to find links between the far-right leader and the Jan. 8, 2023 riots that trashed government buildings in capital Brasilia one week after Lula’s inauguration.

A federal police report said former army commander Marco Antônio Freire Gomes testified that he and other top military leaders attended several last-minute and unscheduled meetings at the presidential palace after the second round of the elections “in which then President Jair Bolsonaro offered possibilities of using legal tools... regarding the electoral process.”

Gen. Freire Gomes told federal police that in one of the gatherings Bolsonaro told the three commanders of his military and his then-Defense Secretary Paulo Sergio Nogueira he wanted to create a commission to “investigate the confirmation and the legality of the electoral process.” He added other tools could be used, such as issuing a decree of a state of siege.