Patel, a close ally of President Trump and a fierce critic of the FBI, was confirmed by a 51-49 vote, with Republican Sens. Susan Collins and Lisa Murkowski joining all Democrats in opposing him.