Former President Jair Bolsonaro is on trial in Brazil for allegedly masterminding an attempted coup after losing the 2022 election to Luiz Inacio Lula da Silva.