The Supreme Court said it accepted a plea agreement with the former Senate leader for the governing Workers’ Party, whose testimony in the sprawling Petrobras corruption case includes incendiary allegations against Brazil’s president, her predecessor and other prominent public figures across the political spectrum.

Sen. Delcidio do Amaral was detained late last year on allegations of obstructing the “Car Wash” investigation into corruption at Brazil’s state-run oil giant, Petrobras. He was released in February, but news reports emerged last week saying he had struck a plea deal in exchange for leniency.