UPDATED: The first three seasons of “Mr. Mercedes” have been acquired by Peacock.

The show previously aired on Audience Network but that network was shut down by AT&T in January, leaving the show’s remaining scripted shows in limbo. “Mr. Mercedes” aired its third season late last year, with the series having received strong critical acclaim throughout its run.

As part of the deal, Seasons 1 and 2 of “Mr. Mercedes” will stream exclusively on Peacock. Both of those seasons will debut on Oct. 15 on the streamer, while the premiere date for Season 3 is yet to be determined.

Based on the New York Times Best-Selling Bill Hodges trilogy by Stephen King, “Mr. Mercedes” follows a retired detective (Brendan Gleeson) who is tormented by a serial killer (Harry Treadaway) through a series of letters and e-mails, causing him to set out on a dangerous and potentially felonious crusade to protect his loved ones and himself.

The series also stars Kelly Lynch, Jharrel Jerome, Mary-Louise Parker, Holland Taylor, Justine Lupe, Breeda Wool, Scott Lawrence, Ann Cusack, Jack Huston, Tessa Ferrer, Maximiliano Hernández, and Nancy Travis.

David E. Kelley and Dennis Lehane wrote and executive produced Seasons 1 and 2 along with King. Jack Bender serves as director and executive producer. Temple Hill Entertainment and Sonar Entertainment produce.

After Audience Network was shut down, AT&T turned it into a preview channel for its streaming service, HBO Max. The move came as AT&T had begun consolidating programming under the WarnerMedia umbrella. On that note, it was announced last week that the streaming service DC Universe transition to only a comic book subscription service and would move all of its programming over to HBO Max as well.

*A previous version of this story incorrectly stated that Season 3 of “Mr. Mercedes” had not aired. The error has been corrected.