On June 7, 2017, President Donald Trump announced his intention to nominate Wray to be Director of the Federal Bureau of Investigation. On July 20, 2017, the Senate Judiciary Committee voted unanimously to confirm Wray to be the next director of the FBI. Wray was officially confirmed by the Senate with bipartisan support on August 1, 2017; the vote was 92–5. He was sworn in by Attorney General Jeff Sessions in a private ceremony on August 2.