LOS ANGELES — Ben McKenzie describes the five seasons he spent playing Detective Jim Gordon on the Fox series “Gotham” as an incredible journey. Taking on the character born in the pages of DC Comics also ended up being “exhausting.”

“When you are making a show on this scale, it’s extraordinary that they ever get made. It is a real testament to the cast and crew,” McKenzie said. “It was even harder because the character and the show is so dark.”

After a short hiatus, “Gotham” returned Thursday to begin airing its final episodes. The series launched in September 2014 as the story of Batman’s home city before Bruce Wayne decided to put on the cape and cowl to fight crime. That approach meant the show dealt more with Gordon’s efforts to keep the peace and the rise of some well-known criminals.

The final episode goes right up to Batman being on the scene with a 10-year jump into the future. Favorite villains such as the Penguin (Robin Lord Taylor), the Riddler (Cory Michael Smith) and Catwoman (Camren Bicondova) will be on hand for the monumental moment.

It’s only now, away from being consumed by the darkness of the series, that McKenzie is able to fully appreciate the quality of the show.

“When you are in the thick of it, it’s sort of hard to know what to make of it because, quite frankly, you are so focused on the next day and the next day,” McKenzie said. “One of the luxuries that you don’t have in television that you have in film is that you have to keep making the product every single day, especially if you are directing or writing it (McKenzie wrote the series finale).

“You need to keep moving. You can’t rest on what sort of laurels you may have accrued. To be able to reflect back and see what we made is quite a feeling. I look back at (prior projects) ‘The O.C.’ or ‘Southland’ differently now as a 40-year-old man than I did when I was 25, 30 or 35.”

McKenzie never saw Gordon as a typical officer of the law but as the surrogate Batman until the Caped Crusader came along. Gordon had to face the same villains Batman would battle, except without billions of dollars to buy fancy gadgets or vehicles. Through most of “Gotham,” Gordon only had his gun and a badge, and both were taken away from him at various points along the trek.

“Gordon’s journey is both a hero’s rise and the story of a fall of an everyman,” McKenzie said. “He can’t possibly keep up with this city that’s circling the drain and ultimately needs a Batman to save it. That was wonderful and human and tragic. Audiences responded well to that.”

Long before taking on the series, the Texas native was aware of the DC Universe, but he wasn’t a superfan of comic books.

“The thing that was always difficult for me to embrace about the superhero genre was when people began to fly or have superpowers. That didn’t jibe with what I was interested in,” McKenzie said. “But, of course, Gordon doesn’t have any of that. Nor does any of the other characters in this Batman world. The world is heightened, but it’s real.”