Fact1: organized crime has been eradicated in Gotham City to Dent Act, Fact2: Police Commissioner James Gordon allowed blame for crimes to fall on Batman, Fact3: Blake convinces him to return as Batman, Fact4: Bane attacks Gotham Stock Exchange by using Wayne 's fingerprints in transaction, Fact5: Rachel Dawes resigns in attempt to convince Bruce to move on with life
Output: Eight years after the death of District Attorney Harvey Dent, Batman has disappeared and organized crime has been eradicated in Gotham City thanks to the Dent Act. Police Commissioner James Gordon has kept secret Dents murderous rampage and allowed blame for his crimes to fall on Batman. He writes a resignation speech revealing the truth, but decides that the city is not ready to hear it. Bruce Wayne has become a recluse, and Wayne Enterprises is losing profits after Wayne discontinued his fusion reactor project when he learned that it could be weaponized. Cat burglar Selina Kyle obtains Waynes fingerprints from his home and tries to sell the fingerprints to Waynes corporate rival John Daggett. She is doublecrossed at the exchange, but alerts the police. Gordon and the police arrive and pursue Daggetts henchmen into the sewers while Selina flees. The men capture Gordon and take him to Bane, a masked terrorist and former member of the League of Shadows, who has set up his base in the sewers. Gordon escapes and is found by rookie officer John Blake. Blake, a fellow orphan, confronts Bruce and convinces him to return as Batman. Bane attacks the Gotham Stock Exchange by using Waynes fingerprints in a transaction that leaves Wayne bankrupt. Waynes butler, Alfred Pennyworth, reveals that Rachel Dawes had intended to marry Dent before she died, and then resigns in an attempt to convince Bruce to move on with his life. Wayne finds comfort in Wayne Enterprises CEO Miranda Tate, who becomes his lover. Kyle agrees to take Batman to Bane but instead leads him into Banes trap. Bane reveals that he intends to fulfill Ras al Ghuls mission to destroy Gotham, and then steals Batmans technology from Wayne Enterprises. Bane fights Batman and delivers a crippling blow to his back, before taking him abroad to an underground prison. There, the inmates tell Wayne the story of Ras al Ghuls child, who was born and raised in the prison before finally escaping — the only prisoner to have done so. Bane lures Gothams police underground and uses explosives to trap them and destroy the bridges surrounding the city. He kills Mayor Anthony Garcia and forces a nuclear physicist to convert the reactor core into an atomic bomb before killing him as well. Bane reads Gordons speech to the public, and releases the prisoners of Blackgate Penitentiary, initiating anarchy while holding the city hostage and isolated with the bomb. Months later, a recovered Wayne escapes from the prison and returns to Gotham. Batman frees the trapped police and they clash with Banes army in the streets; during the battle, Batman overpowers Bane. Tate intervenes and stabs Batman, revealing herself to be Talia al Ghul, Ras al Ghuls daughter. She activates the detonator, but Gordon blocks her signal. Talia leaves to find the bomb while Bane prepares to kill Batman, but Kyle arrives and kills Bane. Batman and Kyle pursue Talia, hoping to bring the bomb back to the reactor chamber where it can be stabilized. Talias truck crashes, but she remotely floods and destroys the reactor chamber before dying. With no way to stop the detonation, Batman uses the Bat to haul the bomb far over the bay, where it safely explodes. In the aftermath, Batman is presumed dead and is honored as a hero. With Wayne presumed dead as well, Wayne Manor becomes an orphanage, and his remaining estate is left to Alfred. While visiting Florence, Alfred discovers that Wayne is alive, and in a relationship with Kyle. Blake resigns from the police force and, in accordance with Waynes will, inherits the Batcave.