Trial

"Trial" is the ninth episode of the second season of Batman: The Animated Series. It originally aired on May 16, 1994. In a bizarre parody of a trial, Batman is kidnapped by his entire Rogues gallery, and put on trial, with a district who loathes him forced to act as his.

Plot
At her latest trial, Poison Ivy is sentenced to be returned to Arkham Asylum yet again. Gotham City's newest District Attorney, Janet Van Dorn, presses for life imprisonment, but the court's hands are tied by the fact that Ivy was apprehended by Batman instead of a regular police officer.

As she leaves the courtroom, Janet is quoted on television as saying (again) that Batman is a disgrace; he is responsible for creating all the "supervillains" in his rogues’ gallery, and acts outside the law. She feels that Batman has made the city dependent on his myth, instead of facing the reality of what needs to be done to suppress crime.

When Ivy is returned to Arkham, Harley greets her enthusiastically, confiding that the inmates will be throwing a party soon – courtesy of the Mad Hatter, who has planted his mind control chips on the guards.

Ironically, Janet is also Bruce Wayne's latest girlfriend. He arrives at a restaurant to keep a dinner date with her, but she is called away by a phone call. A short time later, the Bat-Signal appears, and Batman receives a note from Gordon informing him that the kidnappers have Janet. He goes to the rendezvous, but is ambushed and knocked out.

Batman awakens in a straitjacket in a cell in Arkham. Two-Face informs Janet that, true to her words on television, Batman is going to be put on trial – by them. And she will be his attorney. If she succeeds in defending him, they both go free; fail, and they both die.An impromptu courtroom is set up in the operating theater: The crime of which Batman is accused is "creating" each and every one of them: driving them to become criminals, freaks, and monsters. But Janet has studied the histories of the rogues thoroughly, and her defense is brilliant: Batman urges her to keep the farce going, while elsewhere the police follow the clues he has left.
 * The Accused: Batman
 * Bailiff: Ventriloquist & Scarface
 * Prosecutor: Two-Face
 * Defense Attorney: Janet Van Dorn
 * Jury: The Mad Hatter, Poison Ivy, Killer Croc, the Scarecrow, the Riddler, and Harley Quinn
 * Judge: The Joker
 * Mad Hatter claims he was a harmless scientist, but admits that he was driven mad with love for his young assistant Alice;
 * Harley thanks Batman for creating her loyal "puddin'," which Janet undermines by revealing that the last time she escaped from Arkham, Joker ratted her out in hopes of reducing his own sentence;
 * Ivy says it is Batman's fault she is a criminal, since her only crime would have been trying to kill Harvey Dent (now Two-Face); but Janet goads her into admitting the depth and violence of her botano-phile sentiments;

In her closing argument, Janet admits she was wrong: without Batman, the rogues would have turned out exactly the same way; in truth, they created him, not vice-versa. To her own astonishment, the jury feels it has no choice but to find Batman not guilty. Joker congratulates Janet, then merrily declares that they're going to execute them both anyway, being the rotten scum they are.Batman is dragged into one of the treatment rooms and strapped to the electroshock couch. Before the switch is thrown, the Joker, who has swapped his judge's robes for a priest's cassock, begins to unmask Batman. Just then, Janet remembers a batarang Batman dropped hidden in her pocket, and throws it at the ceiling light, plunging the room into darkness. The moment's confusion is all Batman needs to break them out, tying up Harley in the process. Killer Croc then guards the door before Batman takes him out and the Joker fires a gun, nearly hitting Harley and damaging a generator which shocks Croc. Batman and Janet escape, but the Scarecrow blocks their way with a scythe. To their other side, the Ventriloquist, Poison Ivy, and the Mad Hatter follow up to them. Batman throws the Scarecrow into the other three rogues and runs off with Janet before being confronted by Arkham inmates led by Two-Face. Batman throws an inmate into the crowd and escapes with the D.A.

As they make their way to the exit, Commissioner Gordon and the police storm in and hold the mob at gunpoint. The Joker pursues Batman and Janet outside, tying up Batman with a rope and swinging a heavy gavel. The Clown Prince of Crime is subdued after a brief fight in which Batman kicks him hard in the face.

As the new day dawns, Janet makes her peace with Batman, as they agree that what they both want most is a city that doesn't need him.

Continuity
Killer Croc seems to have a fixation for throwing rocks at Batman; in "Almost Got 'Im," he considers it his finest hour to have thrown a really big one at him (though Croc wasn't gloating in that episode since Batman was posing as Croc during the entire episode). Mad Hatter refers to his first criminal act in "Mad as a Hatter." Poison Ivy refers to the time she nearly assassinated Two-Face (back when he was still Harvey Dent) in "Pretty Poison."