Chairwoman of the Democratic party Debbie Wasserman Schultz on Monday resigned, hours before the party's convention, dealing a blow to hopes of demonstrating unity in the face of the threat from Republican presidential candidate Donald Trump.
Congresswoman Schultz, Chairwoman of Democratic National Committee in a statement announced her resignation after the emails leaked by Wikileaks showed that she tended to support Hillary Clinton over Bernie Sanders in the party's presidential primaries.
As head of the party, Schultz is supposed to be neutral.
Clinton, the former secretary of state, has emerged as the winner of the Democratic presidential primaries defeating Senator Sanders from Virginia.
During the primaries, Sanders campaign had alleged that the party was not staying neutral.
"Going forward, the best way for me to accomplish those goals is to step down as party chair at the end of this convention," Schultz, 49, said in a statement on Sunday, on the eve of the Republican National Convention in Philadelphia.
She was the first woman nominated by a sitting president as Chair of the Democratic National Committee that would formally anoint Clinton as the party's presidential nominee.
The Trump campaign manager Paul Manafort in a statement demanded that Clinton drop out of the race, following resignation of Schultz.
"Debbie Wasserman Schultz resigned over her failure to secure the DNC's email servers and the rigged system she set up with the Clinton campaign," he said.
"Now Hillary Clinton should follow Wasserman Schultz's lead and drop out over her failure to safeguard top secret, classified information both on her unauthorised home server and while traveling abroad.
Schultz's emails only put the Democratic Party at risk, but Hillary Clinton's emails put all of America at risk," Manafort said.
Sanders said he would continue to support Clinton as his main goal was to defeat Trump, Republican presidential candidate.
He did acknowledge his disappointment over the biased support of the top party leadership to the Clinton campaign during the primaries.
"Debbie Wasserman Schultz has made the right decision for the future of the Democratic Party. While she deserves thanks for her years of service, the party now needs new leadership that will open the doors of the party and welcome in working people and young people," he said.
"The party leadership must also always remain impartial in the presidential nominating process, something which did not occur in the 2016 race," Sanders said in a statement.
Schultz spoke to both the United States President Barack Obama and Clinton before announcing her resignation.
In a statement, Clinton said Schultz has agreed to serve as honorary chair of her campaign's 50-state programme to gain ground and elect Democrats in every part of the country, and will continue to serve as a surrogate for her campaign nationally.
"I look forward to campaigning with Debbie in Florida and helping her in her re-election bid -- because as President, I will need fighters like Debbie in Congress who are ready on day one to get to work for the American people," Clinton said.
President Obama too praised Schultz for her leadership of the DNC.
"Her critical role in supporting our economic recovery, our fights for social and civil justice and providing health care for all Americans will be a hallmark of her tenure as party chair," Obama said.
In a tweet, Trump said the Democratic party is in a total meltdown.
"The Democrats are in a total meltdown but the biased media will say how great they are doing! E-mails say the rigged system is alive & well!" he said.
"The highly neurotic Debbie Wasserman Schultz is angry that, after stealing and cheating her way to a Crooked Hillary victory, she's out!" Trump tweeted.
Image: Democratic National Committee Chairwoman Debbie Wasserman Schultz speaks at a rally in Miami, Florida, US. Photograph: Scott Audette/Reuters
Hillary Clinton picks Senator Tim Kaine as VP pick
What Donald Trump is in love with
Trump accepts Republican nomination, vows to put 'America first'
Clinton creates history, becomes first woman US prez nominee
What Democrat vice president pick thinks of India and Modi