Former FBI Director James Comey’s memoir, A Higher Loyalty, could soon be turned into a miniseries.

CBS Television Studios won an auction and is in the final stages of negotiations for the rights to Comey’s book, according to Deadline Hollywood .

Comey published A Higher Loyalty: Truth, Lies, and Leadership in April and in it detailed his relationship with President Trump, who fired him in May 2017.

According to the Deadline exclusive, Comey was involved in the pitch meetings in Los Angeles.

A source familiar with the situation said the auction process was a "highly competitive situation," CNBC reported .

The miniseries adaptation of the book would likely be written by Billy Ray, the screenwriter for "Captain Phillips," and would be executive produced by Ray, Alex Kurtzman, Shane Salerno, and Heather Kadin.

Comey was appointed as FBI director by former President Barack Obama and served from Sept. 2013 until April 2017, and in that time he oversaw the investigation into Hillary Clinton’s emails and the probe into the Trump campaign’s ties to Russia.