State-assisted suicide was a popular method in Medieval and Enlightenment Era Scandinavia, where religion forbade suicide and suicidees were prohibited from religious burial. The usual method was to kill an infant - infanticide was a capital crime; and infants, once baptized, were considered to be pure and sinless and therefore certain to receive salvation. The death penalty, usually by beheading, gave the condemned a chance to atone his or her sins before death.
Timothy McVeigh, who had contemplated suicide in the past, notably called his execution "state-assisted suicide." Zacarias Moussaoui also sought to kill himself through the justice system. A typical strategy for this purpose is to commit a capital offense and then refuse to plea bargain in the face of overwhelming evidence, all the while showing no remorse and making statements calculated to cause grave offense.