The confirmation came on a 49-44 party-line vote from the U.S. Senate on Thursday.