President Trump on Wednesday said he intended to nominate former assistant attorney general Christopher Wray to be the next FBI director.

Wray, currently a litigation partner at King & Spalding, would replace Acting FBI Director Andrew McCabe, who took over when James Comey was fired by Trump in May.

“I will be nominating Christopher A. Wray, a man of impeccable credentials, to be the new Director of the FBI. Details to follow,” Trump tweeted.

I will be nominating Christopher A. Wray, a man of impeccable credentials, to be the new Director of the FBI. Details to follow. — Donald J. Trump (@realDonaldTrump) June 7, 2017

The announcement came ahead of a Senate hearing where McCabe, among others, was set to testify. Fired FBI boss James Comey also is set to testify before a Senate committee on Thursday.

Wray will need Senate confirmation to take over the bureau.

READ MORE