Former FBI Director James Comey's best-selling book, "A Higher Loyalty: Truth, Lies, and Leadership," is being adapted for the small screen.

The four-hour miniseries will see Brendan Gleeson starring as President Trump alongside Jeff Daniels as Comey.

The as-of-yet untitled series, which is set to start production next month, is being penned by Billy Ray, known for writing "Captain Phillips," for which he received an Oscar nomination. Ray also is slated to direct the show.

'MR. MERCEDES' CREW MEMBER ELECTROCUTED ON SET OF TV SERIES

Brendan Gleeson has signed on to play President Trump in an upcoming miniseries. (Dia Dipasupil/Getty Images for Entertainment Weekly, File)

In a statement obtained by Deadline, Ray praised Gleeson, saying he's "spectacularly talented and watchable."

Among his most famous roles, Gleeson won an Emmy for his performance as Winston Churchill in 2009's "Into the Storm," and also played Alastor Moody in the "Harry Potter" franchise.

JEFF DANIELS MOVED HIS FAMILY TO MICHIGAN TO ESCAPE THE HOLLYWOOD LIFESTYLE 

Actor Jeff Daniels arrives for the 2016 Tony Awards Meet The Nominees Press Reception in Manhattan, New York, U.S., May 4, 2016.  REUTERS/Andrew Kelly  - RTX2CUK3

Jeff Daniels is set to play former FBI director James Comey. (REUTERS/Andrew Kelly, File)

Daniels is best known for his work in "The Newsroom," "Godless," and "Dumb and Dumber."

CLICK HERE TO GET THE FOX NEWS APP

Also starring in the series: Tony winner Jennifer Ehle as wife Patrice Comey and Emmy nominee Michael Kelly as former Deputy FBI Director Andrew McCabe.

CBS execs will later decide on an airdate, as well as whether the series will air on Showtime or CBS All Access, according to the outlet.