Brooklyn Nine-Ninefans can breathe a huge sigh of relief—the show has officially been picked up for Season 6, albeit on a different network. On Thursday, FOXcancelledBrooklyn Nine-Ninealong with two other comedies,The Last Man on EarthandThe Mick, but the outcry fromB-99fans was deafening. Almost immediately, other outlets started calling producer Universal Televisionto discuss continuingBrooklyn Nine-NineSeason 6 elsewhere, but while options seemed far and wide, yesterday hope began to dwindle.

Hulu appeared to be an easy fit given that it has the streaming rights toBrooklyn Nine-Nine, but after some discussions, that streaming service opted to pass. Ditto Netflix. NBC was reportedly in the mix, but surely a broadcast network wasn’t interested in reviving another network’s show right? Wrong.Varietyreports that NBC has indeed savedBrooklyn Nine-Nineand picked the show up for a 13-episode sixth season.

brooklyn-nine-nine-cast

So why did FOX cancelBrooklyn Nine-Ninein the first place, and why did streaming services Hulu and Netflix pass? We’ll likely know more about the former on Monday, when FOX execs will unveil their new Fall 2018-19 slate and explain their plans for the network going forward, but speculation has run rampant that this could have something to do with the impending Disney acquisition and what that means for the FOX network—and especially the executives still left there once things change. Disney won’t be acquiring the FOX network (it already owns ABC), but they will be acquiring the FOX production studio, so that significantly changes how this broadcast network will continue to do business—again, if and when this acquisition actually happens.

As for why Hulu and Netflix passed, both streaming services certainly showed interest, but it’s possible that once they looked under the hood, they realized just how expensiveBrooklyn Nine-Nineis. The ratings for the show aren’t terrible, and they show a devoted fanbase that tunes in week after week, but five seasons in the large cast has no doubt seen their salaries rise, and thusB-99was something of a pricey gamble. Moreover, it’s a show that neither Netflix nor Hulu would own outright, and they’d have to pay a licensing fee to producer Universal Television, which ownsBrooklyn Nine-Nine. In the age of streaming, owning your own TV shows has become a very, very big deal.

brooklyn-nine-nine-image

Which is where NBC comes in. NBC is not only owned by Universal, but it has a fruitful relationship withBrooklyn Nine-Nineexecutive producerMichael Schur. The EP started his career onSaturday Night Live, was a writer/producer onThe Office, and eventually went on to createParks and Recreationand the currently running gemThe Good Place. He also has a new series debuting this fall,Abby’s, so that existing relationship with NBC no doubt played a factor into their decision to pick upBrooklyn Nine-Nine.

The only thing that’s a bit of a bummer about this news is the shorter episode season. Unlike pretty much every show on TV,Brooklyn Nine-Ninehas absolutely no problem filling out 22 episodes of story a year. That said, this is a show that’s no stranger to story evolution, and crafting 13 tight episodes (just likeThe Good Place) may be a fun exercise for showrunnerDan Goorthat could lead to some exciting twists.

brooklyn-nine-nine-image

So rejoice, fans—you did it! But seriously,youdid it. Schur took to Twitter to announce the pickup, but to also point out thatBrooklyn Nine-Nine’s uncancellation was only a result of how severely (and loudly) fans of the show freaked out.

For a full list of TV renewals and cancellations,check out our TV Lifeline.

brooklyn-nine-nine-season-6-andy-samberg-melissa-fumero