On this single-camera office comedy, Detective Jake Peralta (Andy Samberg) is a smart guy. He's saavy enough that he's never had to work very hard or follow the rules. Jake has the best arrest record at his station so he's been indulged throughout his entire career. That all changes when Brooklyn's 99th precinct gets a new commanding officer, Captain Ray Holt (Andre Braugher). Holt believes in following the book to the letter. While his officers are both brilliant and capable, they also lack discipline and leadership. The officers compete, annoy, gossip and flirt with one another but, at the end of the day, they have each other's backs.