Brooklyn Nine-Nine debuted in 2013 and is a sitcom set in the titular precinct. The first season revolved around talented but childish detective Jake (Andy Samberg) trying to impress tough new boss Captain Holt (Andre Braugher), but over time the show evolved to give equal focus to the rest of the cast, including Terry Crews, Chelsea Peretti and Joe Lo Truglio.
Brooklyn Nine-Nine also subverted many of the cop genre cliches, with Jake often learning the most "macho" solution to a problem isn't always the right one. Outside of the main cast, the series has also featured several great guest stars, including Bill Hader, Kyra Sedgwick, Dean Winters and Sterling K. Brown. The series was briefly cancelled following the fifth season, but was later picked up by NBC and will run until at least season eight.
Brooklyn Nine-Nine season 3 finally saw Jake and fellow officer Amy start a relationship, with "The Mattress" finding their personal and professional lives colliding. It all begins when Amy asks Jake to buy a new mattress for his apartment, as his old, lump one is giving her back pain. They're also assigned a new case by Holt, who is initially reluctant to partner them since they're now romantically involved. They manage to convince him it will be fine, but they soon have a nasty argument when he refuses to buy a comfortable but pricey new mattress after they go shopping together.
This escalates to a loud argument when they're staking out a drug dealer, who flees the scene. Brooklyn Nine-Nine's "The Mattress" also features a subplot where Charles accidentally scratches Holt's beloved sports car. Holt chews him out and insists he pay for the damages, but he was partly at fault for a poor parking job. Gina helps him see the error of his ways in her own unique style by placing a cupcake on his chair, which becomes an involved metaphor for the car. Rosa is also furious when a teenager she's mentoring is arrested for shoplifting. She wants to charge him to scare him straight, but after some messy - but sage - advice from Terry, she lets him off with a warning instead.
Brooklyn Nine-Nine's "The Mattress" sees Amy and Jake called into Holt for spoiling the operation with a personal squabble, but instead of reprimanding him, Holt offers Jake some advice. This leads Jake to apologize to Amy and order the expensive mattress as a sign he's taking their relationship seriously. The episode ends with him trying to order it online but reluctantly delaying it when they spot the drug dealer on another stakeout.