Beware the Batman: Season 1, Episode 19
In order to track a thief who has stolen a dangerous piece of code-breaking software, Batman has himself arrested and thrown into Blackgate prison.