After stepping away from NBC's Saturday Night Live, many wondered what Andy Samberg had in store for his future career.  It looks like one of his upcoming projects will be a return to television in a pilot for an untitled Fox comedy series written by Parks and Recreation co-creators, Mike Schur and Dan Goor.  The comedy centers on a motley group of detectives stationed near the outskirts of New York City.  Samberg would play the lead detective in a role that show creators say is a perfect match.  Hit the jump to hear what else Schur and Goor had to say, in addition to news on Brendan Fraser toplining the TNT pilot, Legends. Deadline reports that Samberg will star in the Schur and Goor executive produced show.  On getting Samberg to sign on, the writers said:

“Andy’s hilarious, and he was the first guy we thought of when we designed the part.  From the moment we mentioned his name, everyone at Universal Television and Fox was 100% on-board. Andy loved the pitch, and it all came together really quickly. We couldn’t be happier.”

Deadline also reports that Fraser is set to star in the TNT pilot, Legends, a series based on the Robert Littell book by the same name.  The story follows Martin Odum (Fraser), a former CIA operative now acting as a private detective who has the unique ability to become an altogether different person from case to case. Legends was developed by Howard Gordon, Jeffrey Nachmanoff and Mark Bomback. Fraser's series debut will be in the pilot directed by David Semel.

Here's a description from Littell's novel, Legends (via Amazon):

Martin Odum is a CIA field agent turned private detective, struggling his way through a labyrinth of past identities - "legends" in CIA parlance. Is he really Martin Odum? Or is he Dante Pippen, an IRA explosives maven? Or Lincoln Dittmann, Civil War expert? These men like different foods, speak different languages, have different skills. Is he suffering from multiple personality disorder, brainwashing, or simply exhaustion? Can Odum trust the CIA psychiatrist? Or Stella Kastner, a young Russian woman who engages him to find her brother-in-law so he can give her sister a divorce.

As Odum redeploys his dormant tradecraft skills to solve Stella's case, he travels the globe battling mortal danger and psychological disorientation.