A man sentenced to death. He may be the most vile person in existence, 12 men and the judge certainly believed it so, and the moment the word was said everybody got on their knees and praised the heavens.
There is a bit of a problem, though. The man cannot be killed. They have tried to hang him, and that didn't work. They have tried to shoot him, and that didn't work. They have tried to gas him, electrocute him, toss him from a very high building... nope, none of those methods worked. There may be mundane reasons (like sabotage or mis-preparation) or there may be supernatural reasons (like Nigh-Invulnerability or a prophecy protecting the man) at work.
So what other options remain? In a more fair world, maybe the court would continue trying to perform executions. At the very least, it would "downgrade" the sentence to the harshest type of lifetime imprisonment that the crime would require.
But Fiction Isn't Fair, and the judge decides that, if a man sentenced to die has survived fifty or sixty execution attempts, then he deserves to be released. No other circumstances, no other appeals, no pleas from an irate public nor a victim's grieving family will be heard — the man walks.
This was in fact the custom in historical periods, where surviving an execution was often seen as a pardon from God, but in modern times this line of thinking has fallen out of favor (this is why when this sentence is given, the judge will explicitly say that it will be applied "until (the one sentenced is) dead").
Related to The Man They Couldn't Hang, which is a character who survived a hanging.
This is an Artistic License – Law Trope in modern times.
- In Return to Labyrinth, one of the Fire Gang (They can remove their heads without dying) is walking out of Jareth's dungeon and tells his friend he got off lightly with a simple beheading.
- In Rurouni Kenshin, Shishio had experienced multiple attempted executions by the Meiji government. Including one where he was doused with oil, lit on fire, and still survived (albeit with multiple third-degree burns.)
- Super Fuzz subverts this. The film opens with the main character about to be executed in the electric chair after several other methods of execution failed due to his super powers. The electric chair fails too.
- An orchestra conductor is known for being exceptionally terrible at his job. One day, he finds a guy and kills him. He's found guilty of murder and sent to the electric chair. But when his execution comes, he survives the electrical charge. Deciding this must be a sign from God, the authorities release him. However, he goes on to commit worse crimes, is arrested for each, sentenced to the electric chair, and survives each time. (This can go on for as long as the listener is willing to listen.) Finally, the executioner asks him how he keeps surviving the electric chair. He replies "Didn't you hear? I'm a bad conductor."
- A doctor, a lawyer, and an Acceptable Target are scheduled to die one day in the electric chair. The doctor pleads for his life: "I'm a doctor and if I'm freed, I'll treat people for free and maybe save lives." But they try to execute him, and it doesn't work. They let him go. The lawyer is next and pleads: "I'm a lawyer and if you let me go I'll work pro bono." The same thing happens, and he's freed. Then the Acceptable Target says: "I'm an electrician, and if you reconnect that loose wire over there...."
- In The 500 Hats of Bartholomew Cubbins by Dr. Seuss, the main character is sentenced to death for not being able to take his hat off in the King Derwin's presence (a new hat appears on his head every time he takes his old one off). But because the executioner refuses to kill anyone that's still wearing a hat, he has to let Bartholomew go.
- Discussed in Going Postal. When Moist is about to be hanged, he asks the executioner if it's true that "if a man isn't hanged after three attempts he's reprieved". The executioner replies that he's heard that rumor, but that since he's built his reputation on getting it right the first time it's never actually come up.
- Invoked in the sequel Making Money, after Moist confesses his former life as a con artist. Lord Vetinari uses this trope to explain why he gave Moist a second chance without losing face (in reality, Vetinari had the hangman fake Moist's death so he could make him a Boxed Crook).
- In the children's book The Five Chinese Brothers, based on an old Chinese legend, a set of identical quintuplets each have a different power. After one of them is sentenced to death for an Accidental Murder, they do repeated Twin Switches to prevent each method of execution — the iron-necked brother survives the attempted beheading, the brother who can hold his breath for hours survives the attempted asphyxiation, etc. Eventually, the judge declares that god is intervening on the first brother's behalf and pardons him.
- In Torchwood: Miracle Day, in which humans all over the world suddenly stop dying, notorious child-rapist and child-murderer Oswald Danes is released on a legal technicality because the death sentence carried out on him was passed but didn't work.
- Downplayed in The Good Wife, when a client of Diane Lockhart's scheduled to die by lethal injection suffers through at least two botched attempts because his prior drug use damaged the veins in his arms, causing the injection to fail. Diane manages to legally obstruct the third attempt (using veins in his feet), and the state gives up. (He isn't released, however: his sentence is commuted to life in prison.)
- The Twilight Zone (1959):
- The episode "Escape Clause" has this trope attemped to be invoked by the protagonist. See, the man had made a Deal with the Devil and obtained immortality, through which he had done an increasing number of death-defying stunts which had escalated to the point he went and commited a crime (killing his wife) with full intent to get sent to the electric chair. Unfortunately, the man's lawyer managed to get his sentence reduced to life in prison, and knowing he will eventually Go Mad from the Isolation which will come from living centuries behind bars, the man decides to invoke the titular clause and have the Devil come and take his soul already.
- The episode ''Dust" has a guy be sentenced to be hanged. The rope breaks, and the town has a change of heart and lets him go.
- The Twilight Zone (2002): The story "The Executions Of Grady Finch" features the titular man sentenced to die because of a murder charge that he keeps insisting he's innocent of, and every attempt to execute him (electrocution, lethal injection, gas, and the victim's irate son pulling a gun on him and trying to shoot him) is stopped by Divine Intervention prefaced by Finch hearing a ghostly voice saying "not yet!" Finally, after about a dozen attempts, Finch's lawyer is able to convince the court that keeping on trying would be considered cruel and unusual punishment and that it must mean he's innocent and they must let him go. Right after being set free, Finch finally musters up the courage to confesses to his lawyer that he was the murderer and walks out of the courthouse... and this is the moment when he hears the divine voice whispering "now!" and he's crushed by the courthouse's statue of Justice falling on him.
- Tales of the Gold Monkey: One of the backstory details of "Bon Chance" Louie is that he was given a pardon of an execution charge because the guillotine didn't worked.
- Raising Hope opens with the execution of Hope's birth mother Lucy (a Serial Killer), in the electric chair. However, it's soon revealed that the electric chair didn't kill her (at least not permanently), and she woke up on the gurney being wheeled out of the execution chamber. She knocked out the guards and attempted to escape, and she was actually granted release because they couldn't kill her.
- People who survived hanging were granted pardons several times throughout British history, most famously Anne Greene.