The Senate confirmed Christopher Wray, President Donald Trump's nominee for FBI Director, on a 92-5 vote on Tuesday night.
All five nay votes came from Democrats.
Wray had already been unanimously approved by the Senate Judiciary Committee in July, after he appeared before the committee.
"I’m pleased today to support the nomination of Christopher Wray to be the next Director of the Federal Bureau of Investigation," Sen. Chuck Grassley, R-Iowa, the chairman of the Senate Judiciary Committee, said in a statement on Tuesday.
"Mr. Wray possesses the skill, the character, and the unwavering commitment to impartial enforcement of the law that we need in a FBI Director," Grassley said.
Trump earlier called Wray "an impeccably qualified individual" in a June statement.
Wray emerged from a list of former prosecutors, politicians and law enforcement officials interviewed by Trump since the president fired FBI Director James Comey in May.
Here's what you should know.
What does Wray currently do?
Wray works at the King & Spalding law firm, where he has been a partner since 2005, his Senate Judiciary Committee questionnaire says.
Wray chairs its Special Matters and Government Investigations Practice Group, the firm says online. It deals with issues such as internal corporate investigations and regulatory enforcement.
What about his work for Gov. Chris Christie?
Wray represented the New Jersey governor during the investigation into the George Washington Bridge lane-closing case, nicknamed "Bridgegate." Two former Christie aides were convicted of plotting to close bridge lanes to punish a Democratic mayor who wouldn't endorse the Republican governor.
What about Wray's time at the Department of Justice (DOJ)?
Wray worked for the DOJ as assistant attorney general for the criminal division under President George W. Bush from 2003 to 2005.
While at the DOJ, Wray focused on corporate fraud issues. He was on a presidential task force for corporate fraud, and was in charge of a task force concerning Enron, his King and Spalding bio says.
Wray earlier worked as an associate deputy attorney general with the DOJ before he was named principal associate deputy attorney general.
What do we know about Wray's career before working for the DOJ?
Wray graduated from Yale University in 1989 before graduating from its law school three years later, the DOJ says online. He was an assistant U.S. attorney in Georgia from 1997 to 2001.
Before that, Wray was an associate at King and Spalding from 1993 to 1997, according to his Senate Judiciary Committee questionnaire. From 1992 to 1993, he was a clerk for Judge J. Michael Luttig, with the U.S. Court of Appeals for the Fourth Circuit.
The Associated Press contributed to this report.