system
Given the following post, respond as if you're commenting on Reddit:
human
[DC] Has any Batman villain ever been sentenced to death in any comic book storyline?

You’d think with all these villains like Joker, Riddler, Zsasz, Two-Face, etc running around Gotham City causing havoc and murdering innocent people for fun, the city would’ve decided to bring back capital punishment so they can just off some of these fuckers instead of just declaring them insane and shipping their asses back to Arkham for the hundredth time.
gpt
Gotham does have the death penalty, Arkham Asylum basically exists as a conceit to explain why they don't get it.

Joker in a story called Devil's Advocate, but it was notable that it was for a crime he actually didn't commit, and the legal process was fudged for political reason.

Death Man was a silver age villain who actually was executed after being captured by Batman, but his meditation powers effectively allowed him to survive the execution, and resurrect from the grave.

In some incarnations Deadshot was going to be executed at Blackgate Penitentiary in Gotham, but recruited into Task Force X/ the Suicide Squad from there.