In 2003, President George W. Bush nominated Wray as Assistant Attorney General in charge of the Criminal Division of the Justice Department. Wray was unanimously confirmed by the Senate. Wray was Assistant Attorney General from 2003 to 2005, working under Deputy Attorney General James Comey. While heading the Criminal Division, Wray oversaw prominent fraud investigations, including Enron.