Senators in Brazil have voted to indict suspended President Dilma Rousseff on charges of breaking budget laws.
At least 59 senators voted in favour of proceeding with the impeachment of Brazil's first woman president early on Wednesday, with 21 senators voting against and no abstentions.
Al Jazeera's Lucia Newman, reporting from Rio De Janiero, said the Senate was still debating the vote but three of the four charges against her had already been approved.
The Senate had held a marathon session in Brasilia on Tuesday, with Supreme Court President Ricardo Lewandowski reminding senators that they were about to "exercise one of the most serious tasks under the constitution".
The Senate had suspended Rousseff on May 12 over accusations of illegal accounting practices and manipulating the budget to mask a slumping economy.
Rousseff denied any wrongdoing and descibed efforts to remove her as a coup.
The impeachment trial is due to start around August 25 - four days after the Olympics closing ceremony - and will last five days, concluding with a judgment vote.
If Rousseff is removed from office, Temer, her centre-right running mate turned opponent, will take her place as president until the next elections in 2018.
He has urged the Senate to move quickly, saying "people need to know who the president is".
Temer, 75, presided over the Olympics opening ceremony on Friday, drawing boos from the crowd - just as Rousseff did at the opener of the 2014 World Cup.
Controversially, several people have been expelled from Olympic events for holding up signs calling for Temer's resignation.
Source: Al Jazeera and agencies