Attorney General Jeff Sessions swore in Christopher Wray to be the next director of the FBI during a private ceremony Wednesday afternoon.

In a statement, Sessions said Wray has "the experience and strength of character" to lead the FBI.

The Senate overwhelmingly confirmed Wray on Monday night after he sailed through his confirmation hearing with bipartisan support in the Senate Judiciary Committee.

"As a former federal prosecutor and head of the Department of Justice's Criminal Division, Chris Wray has successfully prosecuted terrorists, drug kingpins, and white-collar criminals," Sessions said. "I am confident that the FBI, the premier investigative agency in the world, is in great hands with Director Chris Wray at the helm."

Wray called becoming FBI director "the honor of a lifetime."

"I am excited, humbled, and grateful [...] to have this chance to work side-by-side again with these fine professionals for the good of the country and the cause of justice," Wray added.

Wray succeeds James Comey, who President Trump unexpectedly fired in May — causing a firestorm of controversy. Wray has pledged to keep the FBI independent of partisan politics.