Brazil’s Senate, by a wide margin, removed leftist President Dilma Rousseff from office on Wednesday.

The country’s first female president’s offence was that she broke budgetary laws.

Senators voted 61-20 to convict Rousseff for illegally using money from state banks to boost public spending.

The Senators, however did not succeed in barring Rousseff from public office for eight years.

Her conservative former Vice President Michel Temer, who has run the country since her suspension in May, will be sworn-in to serve out the remainder of her term through 2018.

The impeachment has polarized the country and paralyzed its politics for nine months.

Brazil’s first female president has denied any wrongdoing and said the impeachment process was aimed at protecting the interests of the country’s economic elite and rolling back social programs that lifted millions of Brazilians from poverty during the last decade.

Her opponents, however, have hailed the chance to turn the page on a drawn-out political crisis, the country’s worst recession in generations and a sweeping corruption scandal at state oil company Petrobras.

Dilma-Rousseff

Dilma Rousseff points to an economic chart displaying oil prices while answering a question from a Senator on the Senate floor during her impeachment trial on August 29, 2016 in Brasilia, Brasil.

Motorists honked car horns in the Brazilian capital in a blaring tribute to the removal of a president whose popularity had dwindled to single figures since winning re-election in 2014.

In Brazil’s largest city, Sao Paulo, fireworks exploded in celebration after the vote.

Temer has vowed to boost an economy that has shrunk for six consecutive quarters and implement austerity measures to plug a record budget deficit, which cost Brazil its investment-grade credit rating last year.

However, he is likely to face bitter political opposition from the Workers Party, which has vowed to take to the streets in protest.