Democratic presidential hopefuls US Vice President Joseph R. Biden (L), US Senator for Vermont Bernie Sanders and US Senator for California Kamala Harris (R) participate in the second Democratic primary debate of the 2020 presidential campaign season hosted by NBC News at the Adrienne Arsht Center for the Performing Arts in Miami, Florida, June 27, 2019. - US Senator for California Kamala Harris confronts Former US Vice President Joseph R. Biden about racism. (Photo by SAUL LOEB / AFP)        (Photo credit should read SAUL LOEB/AFP/Getty Images)
PHOTO: Saul Loeb/AFP/Getty Images
Democratic presidential hopefuls US Vice President Joseph R. Biden (L), US Senator for Vermont Bernie Sanders and US Senator for California Kamala Harris (R) participate in the second Democratic primary debate of the 2020 presidential campaign season hosted by NBC News at the Adrienne Arsht Center for the Performing Arts in Miami, Florida, June 27, 2019. - US Senator for California Kamala Harris confronts Former US Vice President Joseph R. Biden about racism. (Photo by SAUL LOEB / AFP) (Photo credit should read SAUL LOEB/AFP/Getty Images)
Now playing
02:58
Kamala Harris confronts Joe Biden on debate stage
Sen. Bernie Sanders AC360 intv 02262021
PHOTO: CNN via Cisco Webex
Sen. Bernie Sanders AC360 intv 02262021
Now playing
03:54
Sanders on what happens with proposed minimum wage increase now
WASHINGTON, DC - JANUARY 17: The U.S. Capitol dome is seen beyond a security fence on January 17, 2021 in Washington, DC. After last week
PHOTO: Michael M. Santiago/Getty Images
WASHINGTON, DC - JANUARY 17: The U.S. Capitol dome is seen beyond a security fence on January 17, 2021 in Washington, DC. After last week's riots at the U.S. Capitol Building, the FBI has warned of additional threats in the nation's capital and in all 50 states. According to reports, as many as 25,000 National Guard soldiers will be guarding the city as preparations are made for the inauguration of Joe Biden as the 46th U.S. President. (Photo by Michael M. Santiago/Getty Images)
Now playing
02:33
This is what's in the $1.9 trillion coronavirus package
PHOTO: CNN
Now playing
02:24
Acosta corrects CPAC organizer: Trump did lose the election
Now playing
01:23
See what happened when CPAC organizers asked crowd to wear masks
Now playing
02:00
Hear Tapper's 'uncomfortable question' for Biden
Now playing
01:10
Rand Paul slams transgender health nominee over puberty suppression
PHOTO: CNN
Now playing
02:39
Republicans push new restrictive election bills in 43 states
van jones minimum wage
van jones minimum wage
Now playing
02:44
Van Jones: This is a make or break issue for Democrats
US President Joe Biden speaks about the 50 million doses of the Covid-19 vaccine shot administered in the US during an event commemorating the milestone in the Eisenhower Executive Office Building in Washington, DC, February 25, 2021. (Photo by SAUL LOEB / AFP) (Photo by SAUL LOEB/AFP via Getty Images)
PHOTO: Saul Loeb/AFP/etty Images
US President Joe Biden speaks about the 50 million doses of the Covid-19 vaccine shot administered in the US during an event commemorating the milestone in the Eisenhower Executive Office Building in Washington, DC, February 25, 2021. (Photo by SAUL LOEB / AFP) (Photo by SAUL LOEB/AFP via Getty Images)
Now playing
02:28
Axelrod explains the message Biden is sending with strike
WASHINGTON, DC - FEBRUARY 13: Senate Minority Leader Mitch McConnell (R-KY) walks from his office to the Senate Chamber for the fifth day of former President Donald Trump
PHOTO: Chip Somodevilla/Getty Images
WASHINGTON, DC - FEBRUARY 13: Senate Minority Leader Mitch McConnell (R-KY) walks from his office to the Senate Chamber for the fifth day of former President Donald Trump's impeachment trial at the U.S. Capitol on February 13, 2021 in Washington, DC. House impeachment managers asked the senate Saturday for the ability to question witnesses as part of the trial. (Photo by Chip Somodevilla/Getty Images)
Now playing
02:07
McConnell says he'd support Trump as GOP nominee
The Pentagon, the headquarters of the US Department of Defense, located in Arlington County, across the Potomac River from Washington, DC is seen from the air January 24, 2017.  / AFP PHOTO / Daniel SLIM        (Photo credit should read DANIEL SLIM/AFP via Getty Images)
PHOTO: Daniel Slim/Getty Images
The Pentagon, the headquarters of the US Department of Defense, located in Arlington County, across the Potomac River from Washington, DC is seen from the air January 24, 2017. / AFP PHOTO / Daniel SLIM (Photo credit should read DANIEL SLIM/AFP via Getty Images)
Now playing
05:24
US carries out airstrikes on Iran-backed militia groups
The exterior of the U.S. Capitol building is seen at sunrise on February 8, 2021 in Washington, DC. The Senate is scheduled to begin the second impeachment trial of former U.S. President Donald J. Trump on February 9.
PHOTO: Sarah Silbiger/Getty Images
The exterior of the U.S. Capitol building is seen at sunrise on February 8, 2021 in Washington, DC. The Senate is scheduled to begin the second impeachment trial of former U.S. President Donald J. Trump on February 9.
Now playing
01:57
Senate parliamentarian rules against minimum wage increase in relief bill
Now playing
03:56
Marjorie Taylor Greene's challenger explains decision to run
PHOTO: CNN
Now playing
03:44
Acting US Capitol Police chief explains 'operational challenges' from January 6 riot
Rep. Marie Newman (D-IL) speaks with CNN
PHOTO: CNN
Rep. Marie Newman (D-IL) speaks with CNN's Alisyn Camerota.
Now playing
07:17
Lawmaker reacts to Rep. Taylor Greene's tweet on her transgender daughter
(CNN) —  

Former Vice President Joe Biden said Wednesday he would consider Sen. Kamala Harris as a potential running mate, a day after she dropped out of the presidential race.

“Of course I would,” Biden said. “Look, Sen. Harris has the capacity to be anything she wants to be. I mean it sincerely. I talked to her yesterday. She’s solid, she can be president someday herself, she can be vice president, she could go on to be a Supreme Court justice, she could be attorney general. I mean she has enormous capability.”

Harris, who was once seen as a leading contender in the race for the 2020 Democratic nomination, ended her campaign Tuesday due to financial pressures and after months of polling in single digits.

Harris and Biden have a complicated history.

Harris, a former attorney general of California, knew Biden’s late son, Beau Biden, who served as attorney general of Delaware.

But during the first Democratic primary debate, the California senator confronted Biden on race issues, specifically about the time he spent in the Senate fighting against federally-mandated busing to desegregate schools and his comments on working with segregationist senators. While the viral moment helped Harris in the immediate post-debate polls, she later dropped significantly.

Biden said afterward that he wasn’t prepared for the senator to confront him in that way.

“I was prepared for them to come after me, but I wasn’t prepared for the person coming at me the way she came at me,” he told CNN’s Chris Cuomo.

Upon hearing the news from reporters that Harris had dropped out of the race Tuesday, Biden appeared genuinely shocked and said he had “mixed emotions” about her ending her campaign.

“My reaction is she’s of first rate intellect, a first rate candidate and a real competitor,” he said. “I have mixed emotions about it because she is really a solid, solid person, and loaded with talent. And I’m sure she’s not dropping out on wanting to make the changes she cares about.”

The former vice president continues his fifth day of the “No Malarkey” bus tour through Iowa, during which he will hit 18 counties over the course of eight days.

CNN’s Arlette Saenz and Dan Merica contributed to this report.