From political outsider to a president like no other: Bolsonaro's rise and fall

Caio QueroHead of BBC News Brasil
GettyGetty Images
Brazil's ex-president has been convicted of plotting a coup

In September 2018, as Jair Bolsonaro campaigned in the south-eastern city of Juiz de Fora, a 40-year-old man pushed through the crowd and stabbed the presidential candidate in the stomach.

Images of Bolsonaro doubled over in pain, wearing a T-shirt in Brazil's football colours, were shared millions of times and broadcast endlessly on television.

The former army captain survived, and the shock and commotion caused by the attack boosted his outsider image and helped carry him to victory weeks later.

Seven years on, Brazil's Supreme Court has found him guilty of plotting a coup and sentenced him to more than 27 years in prison. On the face of it, Bolsonaro's career is over.

However, he remains one of the most consequential politicians of recent decades, and with allies already pushing for amnesty, his influence and even the prospect of a comeback still hangs over Brazil's future.