Updated

The Senate has confirmed President Donald Trump's choice for Army Secretary.

Senators voted 89-6 Wednesday to approve the nomination of Mark Esper, defense giant Raytheon's top lobbyist, for the Army's top civilian post.

Esper told the Senate Armed Services Committee during his confirmation hearing that if confirmed, he would recuse himself for two years from matters related to the Raytheon Company that may come before him.

Trump announced in July that he'd selected Esper after his previous two picks for the post had to withdraw from consideration.

Trump's first pick for the job, Vincent Viola, dropped out in early February because of financial entanglements. Mark Green, Trump's second choice for Army secretary, stepped aside in May amid criticism over his remarks about Muslims and LGBT Americans.