(Photo: Twitter)

Good news, Gotham geeks!

Fox renewed Gotham for a fifth and final season on Sunday, according to Entertainment Weekly.

“The fifth and final season will wrap up this unique origin story of the great DC Comics Super-Villains and vigilantes, which revealed an entirely new chapter that has never been told,” Fox says.

The odds of renewal didn’t seem likely, as the show has only been averaging 3.7 million viewers and 1.2 in the 18-49 age group demographic, reports Entertainment Weekly.

Fox did not say how many episodes this final season would have. While the show has had 22 episodes every year, the last-minute renewal could cut it shorter.

That’s A-OK! We’re just hyped we get another season! And so is Ben!

h/t: Entertainment Weekly