Brazilian President Dilma Rousseff took her battle to survive impeachment to the Supreme Court on Tuesday, in a last-ditch attempt to stay in office a day before the Senate is expected to vote to try her for breaking budget laws, according to Reuters. Attorney General Eduardo Cardozo, the government's top lawyer, asked the Supreme Court to annul impeachment proceedings, his office said. Earlier in the day, the acting speaker of the lower house of Congress withdrew his controversial decision to annul last month's impeachment vote in the chamber. That meant Cardozo's appeal to the highest court may be the president's best hope of stopping the process from moving forward. Speaker Eduardo Maranhao withdrew his surprise decision on Tuesday, following complaints that it was illegal, clearing the way for a Senate vote on Wednesday to go ahead as planned. If a simple majority agrees to put her on trial, Rousseff will be suspended from office on Thursday, leaving Vice President Michel Temer in power for up to six months during her trial. If Rousseff were convicted and removed definitively, Temer would stay in the post until elections in 2018.