-- BRASILIA, Brazil -- Brazil's Senate voted Thursday to impeach President Dilma Rousseff after a monthslong fight that laid raw the country's fury over corruption and economic decay, hurling Latin America's largest country into political turmoil just months before it hosts the Summer Olympics.
Rousseff's enraged backers called the move a coup d'etat and threatened wide-scale protests and strikes. Her foes, meanwhile, insisted that she had broken the law and that the country's deep political, social and economic woes could be tackled only with her on the sideline.
The 55-22 vote means that Vice President Michel Temer, Rousseff's ally-turned-enemy, will take over as acting president later Thursday while she is suspended. The Senate has 180 days to conduct a trial and decide whether Rousseff should be permanently removed from office.
"Did anyone think that we would get to 2018 with a recovery under this government? Impossible," said Jose Serra, the opposition Social Democratic Party's failed presidential candidate in the 2010 race that brought Rousseff into power. "The impeachment is just the start of the reconstruction."
Rio de Janeiro will host the Olympics in August. The run-up to the Games has been marred by security questions, the Zika virus, polluted water in venues for sailing and rowing, slow ticket sales and the political and economic turmoil that led to Rousseff's impeachment.
The International Olympic Committee said it is looking forward to working with the new Brazilian government ahead of the Olympics.
"There is strong support for the Olympic Games in Brazil, and we look forward to working with the new government to deliver successful Games in Rio this summer," IOC president Thomas Bach said.
Bach said preparations for the Aug. 5-21 Games "have now entered into a very operational phase, and issues such as these have much less influence than at other stages of organizing the Olympic Games."
Rousseff's impeachment ends 13 years of rule by the Workers' Party, which is credited with lifting millions out of abject poverty but vilified for being at the wheel when billions were siphoned from the state oil company Petrobras.
Analysts say Rousseff got herself into trouble with a prickly manner and a perceived reticence to work with legislators that may have alienated possible allies. Rousseff, however, has suggested that sexism in the male-dominated Congress played a role in the impeachment.
Temer, a 75-year-old career politician, has promised to cut spending and privatize many sectors controlled by the state. For weeks, he has been quietly putting together a new Cabinet in expectation of taking over, angering Rousseff supporters who accuse him of being in on a plot to oust her.
During the debate, Humberto Costa, the Workers' Party leader in the Senate, brandished a photo of Rousseff from her days as a young Marxist guerrilla during the country's 1964-1985 dictatorship. The image showed her at the military proceedings against her.
Costa called the impeachment the second unjust trial Rousseff had endured and said impeachment was a bid by Brazil's traditional ruling classes to reassert their power over the country and roll back Workers' Party policies in favor of the poor.
"The Brazilian elite, the ruling class, which keeps treating this county as if it was their hereditary dominion, does not appreciate democracy," Costa said.
Rousseff, 68, was impeached for her alleged mishandling of the federal budget. Critics said she used accounting tricks to hide ballooning deficits and bolster an embattled government. Brazil's first female president, who was tortured under the country's dictatorship, has frequently blasted the impeachment push as modern-day coup, arguing she had not been charged with a crime and that previous presidents did similar things.
When the impeachment measure was introduced last year in Congress, it was generally viewed as a long shot. As late as February, consultancies like Eurasia were predicting it wouldn't even make it out of committee in the lower Chamber of Deputies.
But momentum built over several months, as Brazilians seethed over numerous corruption scandals linked to Petrobras and as daily announcements of job losses added to growing desperation. The economy is expected to contract nearly 4 percent after an equally dismal 2015, and inflation and unemployment are hovering around 10 percent, underscoring a sharp decline since the South American giant enjoyed stellar growth for more than a decade.
The Senate action came after the lower house voted 367-137 last month in favor of impeachment.
Polls have said a majority of Brazilians supported impeaching Rousseff, though they also suggest the public is wary about those in the line of succession to take her place.
Temer has been implicated in the Petrobras corruption scheme as has Renan Calheiros, the Senate head who is now No. 2 in the line of succession. Former House Speaker Eduardo Cunha, who had been second in line, was suspended from office this month over allegations of obstruction of justice and corruption.
Rousseff has stressed that, unlike many of those who have pushed for impeachment, she does not face any allegations of personal corruption.
The impeachment process, Rousseff said, amounts to a coup aimed at undoing social programs that have lifted an estimated 35 million Brazilians out of grinding poverty over the years.
Temer, of the centrist Democratic Movement Party, insists he would expand the popular social programs, though he also has signaled that fiscal rigor is needed to dig Brazil out of its fiscal hole.
Adding to Brazilians' economic worries, the investigation into a multibillion-dollar kickback scheme at Petrobras has ensnared dozens of elite politicians and businessmen across the political spectrum. Although Rousseff hasn't been implicated, top officials in her party were, which tarnished her reputation.
The president "is having to pay for everything," Sen. Telmario Mota de Oliveira said, arguing that Brazil's problems shouldn't be all pinned on her.
The Associated Press contributed to this report.