Brazil’s Senate has voted in favour of permanently removing President Dilma Rousseff from her office, in an impeachment trial set to end 13 years of leftist rule in the country.

Sixty-one of 81 senators voted against Rousseff on Wednesday after a five-day trial and a lengthy overnight debate.

Shortly, another vote will decide whether Rousseff is banned from seeking a public office for the next eight years.

Al Jazeera’s Lucia Newman, reporting from Brasilia, said Rousseff was watching the session from the presidential palace and would speak a couple of hours after the vote at a news conference.

She also said the case was not expected to go any further as the charges were political, not criminal.

Allies of Rousseff have signaled that they would take the case to the Supreme Court. But several motions filed to the country’s highest court throughout the impeachment proceedings have failed.

Rousseff’s former vice president turned rival Michel Temer, 75, will be sworn in as president on Wednesday until the next scheduled election in late 2018.

Rousseff, from the leftist Workers’ Party, is accused of taking illegal state loans to patch budget holes in 2014, masking the country’s problems as it slid into its deepest recession in decades.

She told the senate that she was innocent, saying the impeachment trial amounted to a right-wing coup d’etat.

READ ALSO  VIDEO: Brazil 3 – 0 Argentina [2018 World Cup Qualifier] Highlights 2016

Rousseff asserted that impeachment was the price she paid for refusing to quash a wide-ranging police investigation into the state oil company Petrobras, saying that corrupt lawmakers conspired to oust her to derail the investigation into billions in kickbacks at the oil giant.

She said it was “an irony of history” she would be judged for crimes she did not commit, by people accused of serious crimes.

The Workers’ Party under Rousseff and her predecessor Luiz Inacio Lula da Silva is credited with raising around 29 million Brazilians out of poverty.

But many now blame the party and Rousseff in particular for the country’s multiple ills.