Brazil’s Senate has voted to remove President Dilma Rousseff from office for manipulating the budget.
It puts an end to 13 years in power of her left-wing Workers’ Party. Ms Rousseff denies the charges.
Following a crushing 61 to 20 defeat in the upper house, she will be replaced for the remaining two years and three months of her term by Michel Temer, a centre-right patrician who was among the leaders of the campaign against his former running mate.
In a separate vote, the senate voted 42 to 36 not to bar Rousseff from public office for eight years.
Despite never losing an election, Rousseff – who first won power in 2010 – has seen her support among the public and in congress diminish as a result of a sharp economic decline, government paralysis and a massive bribery scandal that has implicated almost all the major parties.
Mr Temer, from the centre-right PMDB party, is expected to be officially sworn in later on Wednesday.