The full Senate voted 68-29 late Monday to confirm Marty Walsh as Labor Secretary.
The news comes roughly five weeks after the Health, Education, Labor and Pensions Committee voted 18-4 to advance Walsh's nomination to the full Senate.
Walsh, a Democrat, was sworn in to serve a second term as mayor of Boston on Jan.1, 2018. He was a member of the Massachusetts House of Representatives from 1997 to 2014, representing the 13th Suffolk district.
"I am incredibly honored and privileged to serve as the United States' next Secretary of Labor," Walsh said in a statement after the vote. "I am grateful for the bipartisan support of members of the Senate, and I want to thank President Biden and Vice President Harris for their confidence in my ability to lead the Department of Labor during such a critical time in our nation's history."
Senate Majority Leader Chuck Schumer, D-N.Y., said in remarks on the Senate floor before the vote that the Labor Department "is in desperate need of a leader with Mayor Walsh's perspective.
For the past four years, under President Trump and Secretary [Eugene] Scalia, unfortunately, sadly, the Labor Department has too often sided with Corporate America, not the working people of America who it was formed to help."
With Walsh's confirmation, the Senate will have confirmed all 15 of President Joe Biden's cabinet secretaries, Schumer said.