AMC is developing a miniseries, based on David Carr’s memoir “The Night of the Gun,” the network announced Monday. Bob Odenkirk will star as Carr.

Shawn Ryan (“The Shield”) is writing the television adaptation, which hails from Sony Pictures Television and AMC Studios, and is being developed as a six-part miniseries.

Carr, one of the most notable journalists in history, died last year from complications of lung cancer, after collapsing in The New York Times newsroom. His memoir, which covers the dark times of his life, including his 20 years as a drug addict, was published in 2008.

“David Carr’s work as a journalist was uncompromising, enlightening, and most of all, always driven by a fundamental quest for the truth. When he turned those skills and values around to focus on his own life as an addict, the result was a stunningly original, compelling and important piece of journalism the likes of which the world had never seen — a simultaneously heartbreaking, funny, and inspirational account that redefined the idea of telling a personal story,” said Joel Stillerman, president of original programming and development for AMC and SundanceTV. “Shawn Ryan, Bob Odenkirk, and the incredible team behind this have embraced all the things that David would have loved as a storyteller, and crafted a vision for ‘The Night of the Gun’ that we hope will be as timeless as David’s book.”

“David Carr’s life was the antithesis of formulaic and only a team as creative as this could bring it to life with authenticity, audacity and reverence,” said Helen Verno, executive vice president, movies and miniseries for Sony Pictures Television.

The project continues Odenkirk’s relationship with AMC. He currently toplines “Better Call Saul,” the prequel to “Breaking Bad,” in which he starred.

Odenkirk commented: “I read David’s story, ‘The Night of the Gun,’ when it came out and was wildly entertained by his saga. It’s a story of survival filled with pain, crack, journalistic righteousness, abandoned cars, crooks, lies, and then there’s the two little girls who saved his life; it’s overstuffed with humanity. Shawn Ryan is the man to explore this real anti-hero story. I hope to do justice to David’s intellect and his scrappy nature. It’s gonna be crazy… if we do it right.”

“‘The Night of the Gun’ is an incredible tale of a journalist’s search for the truth about the most painful subject of his career — himself. David Carr’s autobiography is a searing, hysterical look at the demon of addiction and his journey from the crack pipe to esteemed columnist for The New York Times. I couldn’t be more honored to help bring his story to life, especially with the immensely talented Bob Odenkirk as an actor and creative partner,” Ryan added.

While the miniseries stands in development, the hot project will likely be greenlit, given the subject matter, plus Odenkirk and Ryan’s involvement.

Aside from starring, Odenkirk will also serve as an exec producer via his Odenkirk-Provissiero shingle with his producing partner Marc Provissiero, Joshua Astrachan, Marney Hochman and Eileen Myers, who will write with Ryan, who’s also attached as exec producer.