Former Maryland Gov. Martin O’Malley pulled himself out of contention to be the next chairman of the Democratic National Committee Wednesday, days after he said he was considering a bid.

Former Governor of Maryland and former Democratic presidential candidate Martin O'Malley addresses the Democratic National Committee (DNC) Summer Meeting in Minneapolis, Minnesota. CRAIG LASSIG / Reuters

“While I'm grateful to the supportive friends who have urged me to consider running for DNC Chair, I will not be seeking our Party's Chairmanship. The DNC needs a Chair who can do the job fully and with total impartiality. The national interest must come first,” O’Malley said in an email to supporters.

Related: Ilyse Hogue, Pro-Choice Group Head, is First Woman to Consider DNC Chair Bid

O’Malley, who ran unsuccessfully for president this year, spent the weekend reaching out to Democrats but concluded the timing was wrong for him as the party seems to be looking for a more diverse face from its progressive wing to lead a rebuilding effort after last week’s surprise losses.

“In the days ahead, my family and I will continue to do everything in our power to fight for the Democratic Party, and for the more compassionate and inclusive country that we carry in our hearts,” O’Malley added.

Play Facebook

Twitter

Embed O'Malley: Trump's Opinion of Self 'Way Too High' 0:52 autoplay autoplay Copy this code to your website or blog

Meanwhile, Massachusetts Sen. Elizabeth Warren formally endorsed Rep. Keith Ellison as her pick to lead the party, joining a number of other party leaders, including Sen. Bernie Sanders and incoming Senate Minority Leader Chuck Schumer.

"Keith and I have had the chance to work together many times over the past several years. I’ve watched up close as he has pushed hard to try to hold Wall Street accountable through his work on House Financial Services, and he has consistently exercised bold leadership for the Congressional Progressive Caucus. I admire Keith’s values, his grit, and his dedication to making this country work not just for some of our kids but for all of them. I’m proud to support his candidacy for Chair of the Democratic National Committee,” Warren said in a statement.