Today in unexpected casting news, Starz has announced that comedian Dane Cook will be a part of the network's upcoming "American Gods" adaptation, as reported by Deadline.

Cook joins the cast as Robbie, the best friend of Ricky Whittle's Shadow Moon, who becomes closer with Shadow's wife Laura (Emily Browning) while his friend is locked in prison. The series follow Shadow's adventures after being released from jail as he gets embroiled in a war between the traditional, mythological gods and the newer gods spawned from American obsession with vices like media and technology.

The series is based on Neil Gaiman's 2001 novel of the same name, which won Hugo, Nebula, Locus, SFX Magazine and Bram Stoker Awards for best novel.

The series comes from "Hannibal""s Brian Fuller and "The River"'s Michael Green in collaboration with FremantleMedia North America. It also stars Ian McShane, Pablo Schreiber, Gillian Anderson, Yetide Badaki, Bruce Langley, Crispin Glover, Jonathan Tucker, Peter Stormare, Orlando Jones and Cloris Leachman. The series is currently filming a ten-episode first season, set to air in 2017, in Toronto.

RELATED: Neil Gaiman's 'American Gods' Reveals First Look At Technical Boy

Cook is best known for his stand-up comedy, with his most recent special, "Troublemaker," airing on Showtime in 2014. He has also appeared in films including "Mr. Brooks," "Good Luck Chuck" and the animated "Planes" and has guest-starred on "Hawaii Five-0" and "Louie." Cook Tweeted that he was excited to join the cast, writing, "The book is awesome so happy to be a part of it with an incredible cast & crew."