Brazil’s President Ms  Dilma Rousseff is to face trial after the Senate voted to impeach and suspend her.

Rousseff is accused of illegally manipulating finances to hide a growing public deficit ahead of her re-election in 2014, which she denies.

Senators voted to suspend her by 55 votes to 22 after an all-night session that lasted more than 20 hours.

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.

Ms Rousseff, 68, who was first sworn into office in January 2011 and started a second term in 2015, has called the steps to remove her a “coup”.

In a speech at the end of the all-night Senate session, attorney general Jose Eduardo Cardozo said that the impeachment request did not have legal basis and that the opposition wanted to remove a democratically-elected president.

He said senators were condemning an “innocent woman” and that impeachment was a “historic injustice”.

Michel Temer became interim President as soon as Ms Rousseff was suspended.

The 75-year-old law professor of Lebanese origin was Ms Rousseff’s vice-president and was a key figure in the recent upheaval

Up until now, he’s been the kingmaker, but never the king, having helped form coalitions with every president in the past two decades

He is president of Brazil’s largest party, the PMDB, which abandoned the coalition in March

In recent months, his role has become even more influential; in a WhatsApp recording leaked in April, he outlined how Brazil needed a “government to save the country”.

The new president of Brazil has family roots in the village of Btaaboura in Lebanon, where there is a “Temer Street”

All 71 senators present for the vote made their case for or against impeachment in 15-minute slots. They finished at 05:45 local time (08:45GMT), more than 20 hours after the session opened.

In the Senate, the arguments given for the trial were mainly economic; many blamed President Rousseff for the dire straits the country’s economy is in.

Brazil is suffering from its worst recession in 10 years, unemployment reached 9% in 2015 and inflation is at a 12-year high.

“Populist governments always act with fiscal irresponsibility and when they fail they appeal to the old ‘us vs them’ argument” – Senator Aecio Neves, who lost to Ms Rousseff in the 2014 presidential election

“Impeachment is a tragedy for the country. It is a bitter though necessary medicine. But having the Rousseff government continue would be a bigger tragedy. Brazil’s situation would be unbearable” – opposition senator Jose Serra, a candidate for foreign minister under Mr Temer

Former football player turned senator Romario said Brazil was in “a very serious crisis” before revealing that “after much thought” he had decided to back her impeachment trial

Those arguing against impeaching Ms Rousseff, Brazil’s first female president, repeated her comments that it was tantamount to a coup d’etat.

“The Brazilian elite, the ruling class, which keeps treating this county as if it was their hereditary dominion, does not appreciate democracy” – Humberto Costa, Workers’ Party leader in the Senate

“Today we are seeing an attempted takeover of power which calls itself impeachment” – Senator Telmario Mota, who said the impeachment proceedings were “born of revenge, hatred and revenge”

Workers’ Party Senator Fatima Bezerra called the proceedings “a farce”, adding: “Those who back this coup d’etat won’t ever be forgiven