Former Vice President Joe BidenJoe BidenEight Democratic presidential hopefuls to appear in CNN climate town hall Hill Reporter Rafael Bernal: Biden tries to salvage Latino Support Biden, Buttigieg bypassing Democratic delegate meeting: report MORE presided over Boston Mayor Marty Walsh’s (D) swearing-in ceremony on Monday, praising the mayor for his character and courage.

“I know you’ve all been privileged to have some really great mayors over the history of this incredible city, but I don’t think it’s going to be a surprise to anybody to hear me say that, in my view, Marty Walsh can proudly take his place alongside any of them,” Biden said. 

Biden said he got to know Walsh better while serving as vice president. Walsh, who has been Boston's mayor since 2014, was recently reelected for a second term.

“This is a man of extraordinary character in a moment when we need more character, and incredible courage,” Biden said.

Walsh in 2017 openly opposed the Trump administration’s order to punish sanctuary cities, which don’t enforce federal immigration laws.

In August, Walsh thanked counterprotesters who took to the streets of Boston in opposition to a conservative rally. The event took place days after a white supremacist rally turned violent in Charlottesville, Va., leaving one woman dead. 

Biden last month suggested a possible White House bid in 2020, saying he "may very well do it."

"If I were offered the nomination by the Lord Almighty right now, today, I would say no because we're not ready, the family's not ready to do this. If in a year from now, if we're ready and no one has moved in that I think can do it, then I may very well do it," Biden said on ABC's "The View."

While Biden presided over Walsh’s swearing-in ceremony, Sen. Bernie SandersBernie SandersTop Sanders adviser: Warren isn't competing for 'same pool of voters' Eight Democratic presidential hopefuls to appear in CNN climate town hall Top aide Jeff Weaver lays out Sanders's path to victory MORE (I-Vt.) was scheduled on Monday to swear in New York City Mayor Bill de Blasio (D) for his second term.