Excerpt (Btw, this is a comprehensive article, the below highlights just one incident in his career):
Jair Bolsonaro
Brazil’s unlikely president
...
In 1986, he used an article in a news magazine to argue that colleagues were giving up their careers because of inadequate wages.
A year later, he came under investigation over graver allegations. The same magazine accused Bolsonaro and a colleague of a plot to plant small explosive devices in military bases - supposedly designed to make a commotion and pressure government officials into raising salaries.
Bolsonaro denied the plot.
A military council initially ruled that he should be stripped of his post but when his case was sent to the Supreme Military Court he was acquitted.
Read more at: https://www.bbc.co.uk/news/resources/idt-sh/Jair_Bolsonaro_Brazil
Okay, so he was acquitted.