Robert Mueller, who has been appointed to handle the investigation into Russian meddling in the 2016 election, took the reins as FBI director a week before the attacks on Sept. 11, 2001. That day would influence his entire 12-year run leading the agency.
Mueller oversaw arguably the most significant changes the century-old FBI had gone through, and he received praise from lawmakers from both parties on Wednesday for his commitment to justice.
"I had been a prosecutor before, so I anticipated spending time on public corruption cases and narcotics cases and bank robberies and the like," he told NPR in 2013. "And Sept. 11 changed all of that."
Mueller overhauled the agency to prioritize, first, the threat of terrorism from groups like al-Qaida and the Taliban and then, later, the threat from individuals not affiliated with any particular group, like the Tsarnaev brothers, who were behind the Boston Marathon bombing.
He moved thousands of agents from criminal investigations into counterterrorism and national security. He detailed the changes in 2003, at an American Civil Liberties Union conference:
"The Sept. 11 attacks against New York and Washington changed the course of history.
"They changed the meaning of national security for the United States and dramatically shifted FBI priorities so that the prevention of terrorist attacks became the FBI's top priority and overriding focus.
"While we remain committed to our other important national security and law enforcement responsibilities, the prevention of terrorism takes precedence in our thinking and planning; in our hiring and staffing; in our training and technologies; and, most importantly, in our investigations."
As his 12-year run as director was coming to a close, Mueller also began prioritizing cyberthreats.
John Pistole, Mueller's former deputy director at the FBI, told NPR near the end of Mueller's term that it was hard to overstate the director's footprint on the agency.
"He directed and implemented what is arguably the most significant change in the FBI's [entire] history," Pistole said.
Still, despite enjoying broad support from both sides of the aisle, his tenure with the FBI wasn't without its issues. In the mid-2000s, there were calls to break up the FBI, and in 2007, the Justice Department's Office of Inspector General blasted the agency for its data-gathering practices.
In a glowing editorial in 2011, The Washington Post editorial board praised Mueller's response to those critiques, saying he moved "assertively to fix the problems."
"It was not the first time Mr. Mueller showed character under fire," the board wrote. "In 2002, after learning of other agencies' possible interrogation abuses at the U.S. naval base at Guantanamo Bay, Cuba, Mr. Mueller ordered FBI agents to stay clear of such techniques. And in 2004, he joined other high-level law enforcement officials in threatening to resign if the administration failed to address legal problems with the terrorist surveillance program."
Among the other officials threatening to resign from the Justice Department at that time was James Comey. Comey did in fact resign as deputy attorney general in 2005, and eight years later, he was confirmed as director of the FBI. His firing from that position on May 9 led legislators, mostly Democrats, to ratchet up calls for the special investigator role Mueller is taking on. Comey's dismissal cut short the traditional 10-year term.
Mueller ultimately served 12 years, after President Barack Obama asked Congress to extend his term for two extra years in 2011. The president argued that the country's national security agencies needed consistency, as the Pentagon and CIA were also getting new leaders at the time.
In a vote that showed Mueller's broad appeal to Republicans and Democrats, Congress voted unanimously at the time to approve the request.
"The fact that some are playing politics does not mean that he'll cease being law enforcement," said former Attorney General John Ashcroft on Wednesday. "Frankly, the barking dogs or the clamor of politics won't affect what he does."
Ashcroft, who worked closely with Mueller, added that he used to call Mueller "Square-Jaw McGraw" because of his evenhandedness. Within the FBI, Mueller became known for his gruff taciturnity.
Earlier in life, Mueller served as a U.S. Marine officer and was a federal prosecutor in three U.S. attorneys' offices. He graduated from Princeton University in 1966 and received his law degree from the University of Virginia in 1973.
Former Justice Department prosecutor David Margolis once joked that Mueller could have been perfect for a different, lower-profile job.
"A job he was born for, and has spent his whole life preparing for, drill instructor at Parris Island," Margolis said at an awards ceremony near the time Mueller left the FBI.
Even the normally stoic Mueller broke into a laugh at that one.
Correction: May 18, 2017 12:00 am — In a previous version of this story, we incorrectly said James Comey was confirmed seven years after resigning as deputy attorney general. He was confirmed eight years later. In addition, we previously said Robert Mueller was an assistant U.S. attorney in three offices. He actually served multiple positions in the three U.S. attorneys' offices.