Fans rejoice.

Brooklyn Nine-Nine will return on a different network. The show has been picked up by NBC, Deadline reports. News recently broke that the show, which was originally on Fox, had been canceled, much to the dismay of fans. Reports that the show might be moving to Hulu began to circulate but nothing materialized, until now. 

“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,” Robert Greenblatt, the Chairman of NBC Entertainment said, per 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!”

The comedy series' sixth season will run for 13-episodes.

NBC TAKIN B99 OFFA FOXES HANDSIES BBBBBSSSSSSssss pic.twitter.com/qXFr3Ic27G

— Chelsea Peretti (@chelseaperetti) May 12, 2018

So happy to announce:
NBC IS PICKING UP BROOKLYN 99 for SEASON 6!!!

— The Lonely Island (@thelonelyisland) May 12, 2018

Hey everyone, just wanted to say no big deal but....
NBC JUST PICKED #BROOKLYN99 UP FOR SEASON 6!!!
Thanks in no small part to you, the best fans in the history of the world!

Nine-nine!!!!!!!!!

— Dan Goor (@djgoor) May 12, 2018

It’s NINE o’clock and the NINE NINE is now on NBC. We are so grateful for our fans. THANK YOU. You made this happen. And we’re excited about this amazing new chapter for Brooklyn Nine-Nine. ❤️👍🏻🚨

— JoeLoTruglio (@JoeLoTruglio) May 12, 2018