Embattled Democratic Party chair Debbie Wasserman Schultz said Sunday she is resigning, following a leak of emails suggesting an insider attempt to hobble the campaign of Hillary Clinton’s rival in the White House primaries Bernie Sanders.

Debbie Wasserman Schultz Wasserman Schultz, a congresswoman from Florida, will “step down as party chair at the end of this convention,” she said in a statement on the eve of the Democratic National Convention that is set to anoint Clinton as the party’s presidential nominee. Her departure, long sought by Sanders, is aimed at drawing a line under the scandal as establishment Democrats seek desperately to unite the party behind the campaign of former secretary of state Clinton, who goes up against Republican Donald Trump in the November presidential election.