Brazilian president Dilma Rousseff has been suspended.
Senators voted to suspend her by 55 votes to 22 after an all-night session that lasted more than 20 hours.
Ms Rousseff is accused of illegally manipulating finances to hide a growing public deficit ahead of her re-election in 2014, which she denies.
Addressing the nation from the presidential palace, Ms Rousseff vowed to fight the “injustice” by all legal means.
Vice-President Michel Temer will now assume the presidency while Ms Rousseff’s trial takes place.
The trial may last up to 180 days, which would mean Ms Rousseff would be suspended during the Olympic Games in Rio de Janeiro, which start on 5 August.
Ms Rousseff made a last-ditch appeal to the Supreme Court to stop proceedings, but the move was rejected. Her suspension brings an end to 13 years of the rule of her Workers’ Party.