Bolsonaro's rise has come amid a backdrop of economic and political turmoil, corruption scandals and rising violence.