He was appointed by George W Bush in 2003 and was confirmed by the Senate in a 99/0 vote. And you do understand that his role was not to decide the legality of the executive order but rather decided there was more harm letting the ban continue than there was blocking it until the full case could be heard.