The former president of Brazil, Jair Bolsonaro, has been sentenced to 27 years and three months in prison after being found guilty of plotting a military coup.

A panel of five Supreme Court justices handed down the sentence just hours after they had convicted the former leader.

They ruled he was guilty of leading a conspiracy aimed at keeping him in power after he lost the 2022 election to his left-wing rival, Luiz Inácio Lula da Silva.