The Dark Knight continues to rise: Fox has ordered an additional six episodes of Batman prequel “Gotham,” bringing its first season’s episode total to 22.

The series, which is exec produced by Bruno Heller, Danny Cannon and John Stephens and stars Ben McKenzie as detective — and eventual Batman friend — James Gordon, has been a solid ratings draw for the network so far this season (the premiere episode also topped piracy downloads).

“‘Gotham’ debuted as one of the most buzzed-about shows of the fall, and with good reason. Bruno Heller and Danny Cannon have created an incredibly rich world, with characters that draw you in and a cast that brings to life these heroes and villains in a way we’ve never seen before,” said Dana Walden and Gary Newman, chairmen and CEOs of Fox Television Group. “We are so excited to see where Bruno, Danny and the entire ‘Gotham’ team take this story over the course of this season, and so thankful to all the fans who have embraced it this fall.”

“Gotham,” which hails from Warner Bros. TV and is based on the DC Entertainment characters, has already made plans for its sophomore year and has announced that “Masters of Sex” alum Nicholas D’Agosto will appear as Harvey Dent — also known as Batman villain Two-Face — later this season, with the option of the actor becoming a series regular in season two.