The timeline here is inaccurate, since Lula has been prosecuted for a long time before the election and was found guilty by Moro on 7.12.17, more than a year behind the poll.
By that time Jair Bolsonaro was not even a contender for Brazilian’s presidential race, and, to be honest, he was not seen as a threat until the final moments.
Sergio Moro has been widely known for his “kindness” concerning PSDB, the center-right party.
Although it is pretty obvious that Jair Bolsonaro has dictatorial inclinations and flirts with fascism, it is also important to point out how things actually went. When we talk about the second round of the election it gets clear that Sergio Moro has indeed acted to influence the political scenario by releasing the terms of Palocci’s confession, Lula’s former strong man. But his prosecution, now undoubtfully political and partial, don’t seem to have started as a way to keep him from running for office against Bolsonaro — again, not even a serious contender by then — , but as a Vendetta against PT.
Jair Bolsonaro is the result of dark circumstances, and Sergio Moro is riding with the opportunity to be in political evidence.