Gunsmoke
The Avengers (11x14)
:
A retired judge and his sons abduct Kitty, Festus, and Doc after Festus shoots his other son in order to defend Kitty. The judge "tries" Kitty and Festus for murder, pressing Doc into service as their defense attorney.