Washington (CNN) Then-President Barack Obama reassured then-FBI Director James Comey of his support after the 2016 election during a private meeting in the Oval Office, Comey writes in his upcoming book.

Comey recalls that during the meeting, in late November 2016, Obama told him, "I picked you to be FBI director because of your integrity and your ability. I want you to know that nothing -- nothing -- has happened in the last year to change my view."

CNN obtained a copy of the book and corroborated news reports about Comey's highly anticipated recounting of his time in the Trump administration.

Comey had been widely criticized for his handling of Hillary Clinton's email server investigation when he announced just before the presidential election that the FBI was reopening the probe. In the days leading up the election, he announced there were no new developments, but Clinton has said Comey's actions contributed to her loss.

"He, I think, forever changed history," Clinton said about Comey in an interview about her memoir with CNN's Anderson Cooper in September 2017.

Read More