Kyra Sedgwick spent years working on The Closer as a deputy police chief, but now she's bringing that experience to the world of comedy.

Brooklyn Nine-Nine To Time Jump In Season 2

On Tuesday, Entertainment Weekly reported that Sedgwick will be a guest star on FOX's cop comedy Brooklyn Nine-Nine this season.

Sedgwick will be slipping into a slightly familiar role, as she will be playing another Deputy Chief. Her character, Madeline Wuntch, is a rival of Captain Holt, played by Emmy nominee Andre Braugher, who is of course the captain of the titular Nine-Nine in Brooklyn. Sedgwick's character has an axe to grind with Holt, and is also in the process of evaluating all the precincts, and naturally she has designs to take down Holt and company. Presumably, she will fail, unless Brooklyn Nine-Nine is planning on making some unexpected changes.

Brooklyn Nine-Nine's Andy Samberg Talks The Golden Globes

This is Sedgwick's first television role since she stopped playing the lead on The Closer after its seven year run ended in 2012. She will be appearing in two episodes, the first of which will be the second episode of the season, which airs October 5. After being a Tuesday night comedy during its first season, Brooklyn Nine-Nine has now moved to 8:30 p.m. on Sunday nights, breaking up FOX's animated program lineup that has been their bailiwick on Sunday nights for years.

The first episode will air September 28. The first season won a Golden Globe, and Andy Samberg won one for his starring role as well so hopes are high for the second season of the show.