Christopher Wray has been confirmed as the new director of the FBI after a bipartisan vote in the US senate.

Wray replaces James Comey who was unceremoniously fired by President Donald Trump just under three months ago.

"I am pleased the Senate has confirmed Mr Wray as the next director of the FBI. As he demonstrated in his confirmation hearing, Mr Wray has the experience, judgement, temperament and background to lead the bureau." Senator Lindsey Graham said in a statement on Tuesday (1 August).

"Mr Wray knows the Department of Justice (DOJ) well and I enjoyed my interactions with him during his tenure as head of the criminal division. As a former top DOJ official, he compiled an impressive record as a prosecutor. He's also well-respected throughout the legal profession.

"Today's bipartisan show of support is indicative of Wray's professionalism and commitment to independence. I have no doubt the FBI is in good hands with Mr Wray at the helm," Graham added.

Wray's confirmation passed by 92 - 5.

A member of the Senate Judiciary Committee, Senator Sheldon Whitehouse said: "Now more than ever, the Bureau needs a resolute and independent leader. Christopher Wray has assured us he can be that leader."

"Mr Wray met my core qualifications for the job. He knows law enforcement and the Justice Department. He is not a present or former politician. His loyalty lies with the American public and the people with whom he will serve—the attorneys, agents, and all those who make the FBI the most effective law enforcement organization in the world."

In confirmation hearings, Wray had asserted his independence, an important topic to bring up after accusations that Trump had asked former FBI director James Comey for his loyalty.

"My loyalty is to the Constitution and the rule of law. Those have been my guideposts throughout my career, and I will continue to adhere to them no matter the test," Wray told the committee.