Martin O'Malley on Thursday joined other Democratic Party figures in closing ranks around Hillary Clinton Hillary Diane Rodham ClintonJeff Flake: Republicans 'should hold the same position' on SCOTUS vacancy as 2016 Momentum growing among Republicans for Supreme Court vote before Election Day Warning signs flash for Lindsey Graham in South Carolina MORE, the party's presumptive presidential nominee.

The former Maryland governor, who suspended his own Democratic bid four months ago, congratulated Clinton for winning "a long and hard-fought nomination process."

ADVERTISEMENT

O'Malley also praised Bernie Sanders Bernie SandersNYT editorial board remembers Ginsburg: She 'will forever have two legacies' Two GOP governors urge Republicans to hold off on Supreme Court nominee Sanders knocks McConnell: He's going against Ginsburg's 'dying wishes' MORE "for waging an exciting campaign focused on important progressive issues about which so many of us care so deeply."

"The voters have spoken, it is time now to unite our Party," O'Malley said in a statement, saying he would be committing his energies to help Clinton get elected.

O'Malley made a run against Clinton and Sanders but struggled to make a mark at debates and failed to gain traction with voters.

He suspended his campaign in early February after a dismal showing in the Iowa caucuses.

He announced his endorsement of Clinton on Thursday shortly after President Obama did the same in a campaign video.

O'Malley also used his endorsement to throw bombs at Donald Trump Donald John TrumpUS reimposes UN sanctions on Iran amid increasing tensions Jeff Flake: Republicans 'should hold the same position' on SCOTUS vacancy as 2016 Trump supporters chant 'Fill that seat' at North Carolina rally MORE, the presumptive GOP nominee, whom he called a "fascist threat to our democracy."

"The stakes in this election could not be higher, and the choice is clear," O'Malley said.

"I look forward to campaigning for Secretary Clinton and urge all of my friends and supporters to do the same. Every vote counts, and every American is needed in the important struggle ahead."