Brazil¡¯s Supreme Court on Tuesday ordered former far-right President Jair Bolsonaro to begin a 27-year prison sentence for a coup plot against his successor, a climax to years of political turmoil and legal battles over his contentious legacy in Brazilian democracy.

The top court formally concluded the case against Bolsonaro on Tuesday, making his conviction final, pending confirmation by a four-member Supreme Court panel in the evening. The panel already rejected his appeal this month. Justice Alexandre de Moraes told Bolsonaro to start serving his sentence in the Federal Police Superintendency in Brasilia, where he has been detained since Saturday after he tampered with his ankle monitor while under house arrest in a separate case.

The decision is the latest setback for a politician who rose from the fringe far right to the presidency in 2019, reshaping national debates with a populist style, appeals to military nostalgia and polarizing stances that left the country deeply divided.