Rep. Alexandria Ocasio-Cortez (D-N.Y.) may be all in for Sen. Bernie Sanders (I-Vt.) in the 2020 Democratic primary, but on Thursday the congresswoman committed to supporting whoever wins the party’s nomination.

“I’ve said throughout this entire process that what is so important is that we ultimately unite behind who that Democratic nominee is,” Ocasio-Cortez told “Late Night” host Seth Meyers.

The results of the Super Tuesday primaries effectively mean the race is now between Sanders and former Vice President Joe Biden.

“And I think it’s a two-way street,” Ocasio-Cortez said. “I’ve been concerned by some folks that say if Bernie’s the nominee, they won’t support him, and the other way around.”

“This is more important than all of us,” she added. “We really need to make sure that we defeat Donald Trump at the polls, assuming, and knowing, how insane it’s going to get between now and then.”

Ocasio-Cortez formally endorsed Sanders, who she has previously credited with inspiring her for getting into politics, in October.

“We deserve a president who understands that the corporate assault on our lives existed before Trump and it will exist after Trump,” she said at the time.

Sanders, meanwhile, pledged at a rally in Arizona on Thursday that he’d support Biden if he became the nominee.

“Joe Biden is a decent guy, and I know if he wins the nomination, I will be there for him,” he said. “And if I win, he will be there for me.”

Check out the interview above.