Capital punishment was abolished in West Germany in 1949 and East Germany in 1987.
The current Constitution of Germany ("Grundgesetz für die Bundesrepublik Deutschland"), which came into effect on 23 May 1949, forbids capital punishment. This ban is stated in article 102 GG: "Die Todesstrafe ist abgeschafft" - Capital punishment is abolished.
It is debated among constitutional jurists whether article 102 GG in combination article 2 section 2 GG – "Jeder hat das Recht auf Leben und körperliche Unversehrtheit" (Every person shall have the right to life and physical integrity) prohibits any targeted killing on the part of the state (e.g. in the context of a hostage situation). There has also been debate on the question whether this article could legally be abolished by a two-thirds majority in Bundestag and Bundesrat. This is ostensibly the case, as section 3 of article 79 GG explicitly prohibits amendments of articles 1 and 20, exclusively, from which it follows that article 102 can in principle legally be amended or abolished under article 79. To dispute this, legal scholars have attempted to argue that the prohibition of capital punishment follows necessarily from article 2 GG, which would make article 102 GG entirely redundant. Article 102, according to its systematical place, does not guarantee a basic right but enacts a judiciary restriction. While this was the intention of the authors of the Constitution of 1949, the German Federal Court of Justice in 1995 has argued that "concerns" (Bedenken) related to the general nature of the death penalty "suggest" (legen den Befund nahe) that capital punishment should indeed be considered inadmissible already as a consequence of the guarantee of human dignity in article 1 GG.
The Penal Code was formally amended in 1951 to conform to the abolition. Previous death sentences were replaced by life imprisonment. As the constitution requires that prisoners have a chance of regaining freedom with other means than extralegal pardon only, prisoners are checked for release on parole after 15 years for regular intervals. Since the introduction of this provision, courts may in extreme cases declare special gravity of guilt which is meant and popularized as life without parole.
Although article 21.1 of the constitution of the German state of Hesse provides capital punishment for high crimes, this provision is inoperative due to the federal ban on the death penalty ("Bundesrecht bricht Landesrecht." (article 31 GG) – Federal law overrides state law.). The Bavarian Constitution, while not providing the death penalty by itself, for a long time contained a rule of implementation of it which was abrogated in a summary constitutional amendment in 1998.
Holy Roman Empire
In the Holy Roman Empire, high justice originally was reserved to the king. From the 13th century, it was transferred to the king's vassals along with their fiefs. The first codification of capital punishment was the Halsgerichtsordnung passed by Maximilian I in 1499, followed in 1507 by the Constitutio Criminalis Bambergensis. Both codes formed the basis of the Constitutio Criminalis Carolina (CCC), passed in 1532 under Charles V. In the Habsburg Monarchy, all regional codes were superseded by the Constitutio Criminalis Theresiana in 1768.
If the failed German constitution drafted by the Frankfurt Parliament in 1849 had come into force, capital punishment would have been abolished in most cases, since Art. III § 139 of the constitution stated: "Die Todesstrafe, ausgenommen wo das Kriegsrecht sie vorschreibt, oder das Seerecht im Fall von Meutereien sie zuläßt, [...], [ist] abgeschafft" ("Capital punishment, except when it is prescribed by martial law or permitted by the law of the seas in cases of mutiny, [...] [is] abolished"). The German Empire (1871–1918) quite liberally inflicted the death penalty for some forms of 1. high treason and for 2. murder which was then defined as killing with premeditation; only murder and attempted murder of one's sovereign was capital treason. Under military law, in case of a war only, some other particularly listed forms of 3. treason, some cases of 4. wrongful surrender, 5. desertion in the field in case of relapse, if the previous desertion also had taken place in the field, 6. cowardice if it led to a flight with enticing one's comrades to flight, 7. explicit disobeying an order by word or deed in the face of the enemy, 8. sedition in the face of the enemy, or in the field (only) if done as a ringleader or instigator, or with violence as a leading man. During the German empire, the legal methods were, the hand-held axe, in some states also the guillotine for civilian crimes and firing squad for military crimes.
World War I and Weimar Republic
The Weimar Republic retained death penalty for murder, and several murderers were guillotined.
According to Manfred Messerschmidt, "from 1907 to 1932," i. e. including World War I, "Germany had issued 1547 death warrants, of which 393 were executed.
As to the National Socialists, the leading Nazi jurist Hans Frank boasted at the 1934 Reichsparteitag of “reckless implementation of the death penalty” as a special acquisition of the Nazi regime. Under Hitler nearly 40,000 death sentences were handed down, mainly by the Volksgerichtshof and also by the Reich Military Tribunal. Executions were carried out most often by beheading using the guillotine although from 1942 on hanging by using the short-drop method became also common. A firing squad was reserved for military offenders.
Additional forms declared treason could (in some cases, especially for soldiers, mandatorily) be prosecuted with death, as could grave arson, aiding and abetting treason, betraying a secret (mandatorily), procuring a secret for the sake of betraying it, insidious publishing or rhetoric, failure to denounce a capital crime, destroying means for military use, sabotage (mandatorily for soldiers), kidnapping (mandatorily), compassing or imagining the death of a NS or state official for political reasons or the reason of their service, setting a car trap for the means of robbery (mandatorily), espionage (mandatorily), partisanry (mandatorily), all cases of desertion, subversion of military strength (mandatorily except for minor cases), looting (mandatorily even in cases of smallest amounts), arson which damages the power of defense of the people, crime during danger resulting from enemy aviation (in grave cases), taking advantage of the state of war whilst committing a crime ("if the sound feeling of the people so requires"), publishing foreign radio broadcasts, etc. The definition of murder was changed and, in practice, extended to the rather vague definition still in force, but now only with life imprisonment. This list is by no means exhaustive, even where laws and decrees are concerned. As an addition to crimes declared capital by law or decree, a "dangerous habitual criminal" or one convicted of rape could be executed "if the protection of the people or the need for just atonement so demands", courts (or whatever was in place of a court) sometimes were officially granted the right to inflict the death penalty even where not provided by law, and sometimes did so by their own discretion. Many of the crimes covered a wide and unpredictable range of actions, such as treason, "sabotage" (Kriegsverrat, which was any action pandering the enemy) and subversion of the military strength, which could be interpreted as to cover any critical remark, and even though even it did clearly not cover it was applied to execute any conscientous objector. To quote Hitler, "after ten years of hard prison, a man is lost to the people's community anyway. Thus what to do with such a guy is either put him into a concentration camp, or kill him. In latest times the latter is more important, for the sake of deterrence."
During 1933-1945, Wehrmacht courts issued, conservatively estimated, 25000 death warrants, of which 18000 to 20000 were executed." According to official statistics, other courts had altogether issued 16560 death warrants (whereof 664 before the war), of which about 12000 were executed. In fighting partisans, 345000 are reported to have been killed, of which less than 10% may have been partisans.
This, however, should not obscure the fact that not only the National Socialist legal system was tyrannical (especially also with the protective custody, to be inflicted at the Gestapo's arbitration and to be fulfilled in a concentration camp), but this law also was broken to the detriment of those persecuted or opposing. A concentration camp commander could as early as in 1933 inflict the "death penalty" for disobedience, i. e. order to murder a disobedient, without any legal ground whatsoever besides the will of Heinrich Himmler, but also without meeting opposition. Himmler himself offered an honorable way out for members of the SS who were convicted of capital crimes-they were locked in a room with a revolver and one live round, then given several hours to use it. After their deaths any surviving family were given pensions. Bl. Bishop Clemens of Münster correctly saw himself legally obliged to denounce to the criminal police those responsible for the Action T4, i. e. the killing of the handicapped, for murder (then: killing with premeditation); likewise, no law even of the Nazis allowed extermination through work, and genocidal mass murder, as in the case of the Holocaust.
Charles Lane (writer for The Washington Post) claims the abolishment of capital punishment was a reaction not to its extensive use under the Third Reich, but to the execution of convicted Nazi war criminals by the International War Crimes Tribunal.
After World War II
After World War II, limited executions of common and war criminals were carried out on West German soil. The last common criminal to be executed in the Western Zones under German authority was Richard Schuh (murder and robbery) on February 18, 1949; in West Berlin the last execution was of Berthold Wehmeyer (murder, rape and robbery) on May 12, 1949. Despite the newly founded Federal Republic's protests, the Western Allied powers continued for some time to inflict the death penalty in their separate jurisdiction. The last war criminals being executed on June 7, 1951 at Landsberg prison. Until 1990, some "criminal actions against the Allied Occupating Powers' interests" remained capital in West Berlin, being under Allied jurisdiction without complete force of the Basic Law. However, no capital sentences under this authority were carried out.
East Germany abolished the death penalty in 1987. The last execution in East Germany is believed to have been the shooting of Werner Teske, convicted for treason, in 1981; the last execution of a civilian (after 1970, capital punishment was rare and almost exclusively for espionage) was Erwin Hagedorn, for sexually motivated child murder. By then, GDR courts had inflicted the death penalty in 227 cases. 166 were executed, of which 52 for assumedly political crimes (espionage, sabotage etc.), 64 for crimes under Hitler's rule and 44 for common criminality (mostly, murder under aggravated circumstances). Most of these took place during the 1950s; three known executions took place in the 70s and two in the 80s. The guillotine (called the Fallschwertmaschine, "falling sword machine") was used for the last time on former SS doctor Horst Fischer in 1966, after which it was replaced by an "unexpected close shot in the back of the head" ("unerwarteter Nahschuss in das Hinterhaupt"). The GDR was notable for its secrecy about its executions, even when the death warrants had been issued in show trials; death certificates mostly stated instead "heart failure".