The U.S. Senate voted on Thursday to confirm retired neurosurgeon Ben Carson as secretary of the Department of Housing and Urban Development (HUD) in President Donald Trump's Cabinet.

Carson, who ran for the 2016 Republican presidential nomination and later endorsed Trump, becomes the only African-American in the Trump Cabinet. The Senate confirmed his appointment by a vote of 58 to 41.

During his confirmation hearing in January, Carson, 65, told the Senate Committee on Banking, Housing, and Urban Affairs that he would monitor any potential conflicts of interest between his agency and properties controlled by Trump.

He also told lawmakers he was fit to lead HUD, an agency whose mission includes helping the poor get housing, even though he has sometimes criticized its work.