Alexander Tamargo, WireImage

Debbie Wasserman Schultz, chairwoman of the Democratic National Committee, resigned her position Sunday, the apparent fallout of a WikiLeaks email dump that showed she and other committee officials had disparaged the Bernie Sanders presidential campaign.

Schultz, a Florida congresswoman, said in a statement that she would leave her post at the end of the Democratic National Convention taking place this week in Philadelphia. She'll still open and close the event and will address the delegates.

"My first priority has always been serving the people of the 23rd district of Florida and I look forward to continuing to do that as their member of Congress for years to come," she said in a statement, adding that she also hopes to see Hillary Clinton elected president. "Going forward, the best way for me to accomplish those goals is to step down as party chair and the end of this convention."

Now playing: Watch this: WikiLeaks email dump forces DNC shake-up

In one of the more than 19,000 leaked emails, staffers allegedly dismissed Sanders' campaign as "a mess" and added that his campaign "never had their act together." Sanders had called for Wasserman Schultz' resignation.

Meanwhile, Hillary Clinton's campaign manager on Sunday accused Russian hackers of releasing the emails to help Republican Donald Trump win the presidential election.