Credit: FOX

There are more laughs to be had after the apocalypse and in a police precinct.

Fox announced on Thursday that it has renewed both The Last Man on Earth and Brooklyn Nine-Nine for the 2016-17 season.

In its second season, Will Forte’s Last Man on Earth is averaging 4.5 million viewers per episode in its Sunday slot and is registering a 2.0 in the 18-to-49-year-old demo. Andy Samberg’s Brooklyn, which will wrap up its third season on April 19, is averaging four million viewers per episode and 1.9 in the 18-to-49 demo on Tuesday nights.

“We’re so proud of these comedies,” noted Fox Entertainment President David Madden in a statement. “Each has its own unique voice, but they both boast terrific ensembles with stand-out characters and, of course, phenomenal writing, which are the hallmarks of all great comedies,: