WARNING: The following article contains spoilers for this week's episode of Gotham, "Ace Chemicals," which aired Thursday on Fox.

With only a handful of episodes remaining, Gotham is getting close to finally introducing the Dark Knight. The city may be plunged into a No Man's Land scenario, but soon Bruce Wayne will take the final steps toward donning the cape and cowl.

The young hero already has the dark clothes and flowing coat, the fighting skills and even a grappling gun. But we're still a far cry from the Batmobile, Batarangs and Bat-shark repellent. However, in this week's episode, "Ace Chemicals," a shocking twist paves the way for the introduction of Batman's iconic base of operations: the Batcave.

RELATED: Gotham's Latest Twist Paves the Way For Another DC Character's Arrival

After only a few brief appearances throughout Season 5, "Ace Chemicals" finally brings Jeremiah Valeska to the forefront as he enacts his full plan to cement a twisted friendship with Bruce Wayne. Part of this plan involves a couple who was surgically altered to resemble Thomas and Marth Wayne, and a mind-controlled Alfred Pennyworth. Jeremiah reunites Bruce's family in an effort to recreate the night of his parents' death.

Gotham Ace Chemicals Wayne Manor destruction

Jeremiah also stages a quiet dinner at Wayne Manor, where he has strategically placed bombs to ensure Bruce's cooperation. However, when it's time for the would-be Joker to begin the next phase of his plan, he needs a bit of time away from Bruce. And, so, he detonates the explosives, of course.

Bruce only has enough time to grab Alfred and escape Wayne Manor before his home is engulfed in flames, leaving nothing but a pile of smoldering rubble. It's one more loss for Bruce, who has already endured so much. But it's also an opportunity for a new beginning.

RELATED: Gotham Is Finally Getting Good - Just As It's Ending

With Wayne Manor destroyed, Bruce has little choice but to rebuild, giving him the perfect opportunity to construct a new home, with the Batcave beneath.

We may even get to see that iconic location, in its completed form, by the time Gotham ends, as the series finale is set in the future, with a Batman in his prime.

Airing Thursdays at 8 p.m. ET/PT on Fox, Gotham stars Ben McKenzie as James Gordon, Donal Logue as Harvey Bullock, David Mazouz as Bruce Wayne, Robin Lord Taylor as Penguin, Camren Bicondova as Selina Kyle, Erin Richards as Barbara Kean and Sean Pertwee as Alfred Pennyworth.