ABOVE VIDEO: Retired neurosurgeon Ben Carson was confirmed by the Senate Thursday to become housing secretary in the Trump administration.

(FOX NEWS) – Retired neurosurgeon Ben Carson was confirmed by the Senate Thursday to become housing secretary in the Trump administration.

Carson, a former Republican presidential candidate who battled Trump for the GOP nomination, was confirmed for the Cabinet position by a 58 to 41 vote.

In his role as head of the Department of Housing and Urban Development, or HUD, Carson will lead more than 8,300 employees and handle an annual budget of nearly $47 billion.

The vote comes more than a month after Carson earned the bipartisan backing of the Senate Banking, Housing and Urban Affairs Committee, even gaining the support of two of the panel’s most liberal members — Democrats Sherrod Brown of Ohio and Elizabeth Warren of Massachusetts.

Warren, however, switched her position and voted against Carson on Thursday. The vote change comes after she faced pressure from liberal activists and wrote a long Facebook post defending her support of Carson.

Answering critics who questioned his qualifications to run HUD, Carson said during his January nomination hearing that he would go on a “listening tour” so he could gain feedback on how to reform the massive and complex department.