AT&T's Audience Network has ordered "Mr. Mercedes," an adaptation of Stephen King's 2014 hard-boiled detective novel from David E. Kelley.

According to The Hollywood Reporter, Brendan Gleeson and Anton Yelchin will star in the 10-episode series, set to premiere in 2018 on DirecTV and AT&T Uverse.

"Mr. Mercedes" centers on  a demented killer who taunts a retired police detective with a series of lurid letter and emails, spurring him to launch a private, and potentially illegal, crusade to bring the murderer to justice before he can strike again. Gleeson ("Harry Potter," "The Guard") will star as Detective Bill Hodges, while Yelchin ("Fright Night," "Star Trek Beyond") will play Brady Hartsfield, a mentally deranged ice cream truck driver and IT worker who's secretly the Mercedes Killer.

Kelley will write the first episode and serve as showrunner. He's also an executive producer alongside Jack Bender, who worked with King on CBS's "Under the Dome."

A joint venture between AT&T and DirecTV, Audience Network is home to "Kingdom," the MMA drama starring Frank Grillo and Nick Jonas.