Funnyman Adam Samberg has agreed to star in the pilot for a potential new show to be shown on FOX, working with the Parks and Recreation writing team of Mike Schur and Dan Goor on the project, reports Broadway World.

The Lonely Island and former SNL star has agreed to be a part of the still-untitled show, which will see Samberg star as lead detective in charge of a group of fellow detectives and officers who work in a precinct on the edge of New York City, with hilarity no-doubt ensuing.

Speaking a short while after the announcement of the former-SNL favourite's appointment, Schur and Goor 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."

Samberg can currently be seen in the BBC Three sitcom Cuckoo, which also stars The Inbetweeners' Greg Davies, and is also known for his work in the films Hot Rod and Thats My Boy, as well as TLI and SNL. No further information on the show was released alongside this announcement.