Police sitcom Brooklyn Nine-Nine has been picked up by the NBC television network for a 13-episode sixth season. The move comes a day after Fox cancelled the series, leading to a flurry of posts on social media by prominent personalities in support of the show.

The actors and makers of the show announced NBC’s pickup on Twitter.

Created by Dan Goor and Michael Schur, Brooklyn Nine-Nine revolves around police officer Jake Peralta (Andy Samberg), who clashes with his crusty captain Raymond Holt (Andre Braugher). Brooklyn Nine-Nine has won several awards, including two Creative Arts Emmys and two Golden Globes.

Brooklyn Nine-Nine is produced by Universal, NBC’s sister studio. The television network had reportedly bid for Goor and Schur’s Brooklyn Nine-Nine pitch in 2012, before it was picked up by Fox. “Ever since we sold this show to Fox I’ve regretted letting it get away, and it’s high time it came back to its rightful home,” NBC Entertainment Robert Greenblatt told Deadline. “Mike Schur, Dan Goor, and Andy Samberg grew up on NBC and we’re all thrilled that one of the smartest, funniest, and best cast comedies in a long time will take its place in our comedy line-up. I speak for everyone at NBC, here’s to the Nine-Nine!”

Brooklyn Nine-Nine.