President Barack Obama has endorsed Hillary Clinton for president after meeting with her opponent Sen. Bernie Sanders at the White House.

Clinton declared a victory in the Democratic primary on Tuesday after she won primaries in California, New Jersey, New Mexico, and South Dakota. The Associated Press announced she clinched after she captured the Puerto Rico primary, which propelled her to 2,383 delegates.

Sanders said he would “work together with Hillary Clinton to defeat GOP presumptive candidate Donald Trump in November.” From CNN:

Warning that a Trump presidency would be a “disaster,” the Vermont senator — who pledged to continue his White House bid even after Clinton became the Democratic Party’s presumptive presidential nominee — said he would “work as hard as I can to make sure that Donald Trump does not become president of the Untied States.”

“I look forward to meeting with (Clinton) in the near future to see how we can work together to defeat Donald Trump and to create a government which represents all of us and not just the 1 percent,” Sanders told reporters after an Oval Office meeting that lasted more than one hour.

He also thanked Obama and Vice President Joe Biden for not showing any favoritism during the entire process.

Sanders said he will continue his campaign through the DC primary next week and through the Democratic National Convention in Philadelphia.

[Featured image via YouTube]