The Democratic National Committee chairwoman has confirmed she will step down this week at the end of the party’s convention, which begins today, reports NBC. Wasserman’s troubles began late last week when thousands of DNC emails were released by WikiLeaks that seemed to show a plot by committee officials to discredit former Democratic presidential candidate Bernie Sanders, who lost the nomination to Hillary Clinton. One email showed Wasserman saying Sanders would never be president and another email showed the DNC finance chairman recommending the party use Sander’s assumed atheism against him in religious states. In a statement announcing her resignation, Wasserman said:

“I know that electing Hillary Clinton as our next president is critical for America’s future. I look forward to serving as a surrogate for her campaign in Florida and across the country to ensure her victory. Going forward, the best way for me to accomplish those goals is to step down as Party Chair at the end of this convention.”