The Democratic Party stands united with President Barack Obama endorsing presumptive Democratic nominee Hillary Clinton and Vermont Senator Bernie Sanders vowing to work with Clinton to beat presumptive GOP nominee Donald Trump.

Sanders’ decision to continue his bid for the White House even after Clinton became the presumptive Democratic nominee sent the party into a high alert. It immediately turned the table on Trump. The promise by Sanders to work together with Clinton saved the party from raising concerns among Democrats about the differences within the party.

Meanwhile, the president endorsed Clinton in a video that appeared on the candidate’s campaign website. “I’m with her,” Obama said in the video, reiterating her campaign slogan. “Look, I know how hard this job can be. That’s why I know Hillary will be so good at it. In fact, I don’t think there’s ever been someone so qualified to hold this office.”

He added, “She’s got the courage, the compassion and the heart to get the job done.”

Clinton was declared the first woman to be on the top of the Democratic ticket after she recorded a huge win in the latest batch of primaries, the Independent reported. In 2008, Obama and Clinton debated with each other 20 times as party rivals, after which she then went on to become the US Secretary of State.

The comments by Obama came after the president concluded a meeting with Sanders at the White House on Thursday on the issues facing America. “I had a great meeting with him this week and I thanked him for shining a spotlight on things like economic inequality,” said Obama.

Sanders said that he is looking forward to holding meetings with Clinton in the future and see how they can work together to beat Trump and create a government that looks after everyone and not just the one percent. He also thanked the president and Vice-President Joe Biden for showing impartiality during the campaigns.

“They said in the beginning that they would not put their thumb on the scales and they kept their word and I appreciate that very, very much,” the CNN quoted him as saying.