Capital punishment for homosexuality

Capital punishment as a criminal punishment for homosexuality has been implemented by a number of countries in their history. It currently remains a legal punishment in several countries and regions, all of which have sharia-based criminal laws. Gay people also face extrajudicial killings by state and non-state actors, as in Chechnya in 2019, though it is denied by the Chechen authorities and Russia.
Imposition of the death penalty for homosexuality may be classified as judicial murder of gay people, which has been analyzed as a form of genocide.
In current state laws.
As of July 2020, the following jurisdictions prescribe the death penalty for homosexuality:
Extrajudicial killings.
In some regions, gay people have been murdered by Islamist militias and terrorist groups, such as Islamic State of Iraq and the Levant in parts of Iraq, Libya, and Syria, the Houthi movement in Yemen and Hamas in the Gaza Strip.
In February 2016 Hamas, which controls the Palestinian National Authority and rules Gaza, executed by firing squad Mahmoud Ishtiwi—one of the group's leading commanders—for homosexual activity.
Anti-gay purges in the Chechen Republic, a predominantly Muslim region of Russia, have included forced disappearances—secret abductions, imprisonment, and torture—by local Chechen authorities targeting persons based on their perceived sexual orientation. Of 100 men, who authorities detained on suspicion of being gay or bisexual, three have reportedly died after being held in what human rights groups and eyewitnesses have called concentration camps.
Extrajudicial killings have occurred in Iraq. Cases include abductions, torture, rape and murder by vigilante mobs, millitia and perpetrators. LGBT people living in fear of their lives, campaigners Human Rights Watch (HRW) and IraQueer found. HRW's LGBT rights researcher Rasha Younes said: "LGBT Iraqis live in constant fear of being hunted down and killed by armed groups with impunity, as well as arrest and violence by Iraqi police, making their lives unliveable."
Report of vigilante executions, attacks, beatings, and torture have been reported in heavily Christian and Muslim regions of Africa, in countries such as Algeria, Uganda, South Africa, Kenya, Liberia, Ghana, Cameroon, and Senegal. In these countries, police turn a blind eye or even are complicit in the anti-gay violence.
History.
Australia.
Australian states and territories first passed laws against homosexuality during the colonial era, and nineteenth-century colonial parliaments retained provisions which made homosexual activity a capital offence until 1861. Most jurisdictions removed capital punishment as a sentence for homosexual activity, although in Victoria it remained as such when committed while also inflicting bodily harm or to a person younger than the age of fourteen until 1949. The last person arrested for homosexual sex in Australia was a man in 1984 in Tasmania. The last part of Australia to legalise consensual homosexual sex between adults was Tasmania in 1997. In 2017, same-sex marriage was legalised by the Australian government.
Of the seven men in Australian history known to have been executed for sodomy, six cases involved the sexual abuse of minors; only one of the seven cases was for consensual acts between adults. In that sole case, Alexander Browne was hanged at Sydney on 22 December 1828 for sodomy with his shipmate William Lyster on the whaler "Royal Sovereign"; Lyster was also convicted and sentenced to death, but his sentence was commuted before execution. Joseph Fogg was hanged at Hobart on 24 February 1830 for an "unnamed crime", also described in one source as an "abominable crime". The exact nature of his crime is unclear; while likely a same-sex sexual offence given the labels applied ('unnamed', 'abominable'), it too may not have been for consensual acts, but for same-sex rape, or abuse of a minor.
Germany.
During the period of Nazi Germany from 1933 to 1945, homosexual men were persecuted with thousands being imprisoned in concentration camps (and eventually extermination camps) by the Nazi regime. Roughly 5,000–15,000 were sent to the concentration camps, with the death rate being estimated to be as high as 60%. Homosexuals in the camps suffered an unusual degree of cruelty by their captors, including being used as target practice on shooting ranges.
In a 1937 speech, Himmler argued that SS men who had served sentences for homosexuality should be transferred to a concentration camp and shot when trying to escape. This policy was never implemented, and some SS men were acquitted on homosexuality charges despite evidence against them. A few death sentences against SS men for homosexual acts were pronounced between 1937 and 1940. In a speech on 18 August 1941, Hitler argued that homosexuality should be combatted throughout Nazi organizations and the military. In particular, homosexuality in the Hitler Youth must be punished by death in order to protect youth from being turned into homosexuals, however the Hitler Youth never implemented this policy.
After learning of Hitler's remark, Himmler decided that the SS must be at least as tough on homosexuality and drafted a decree mandating the death penalty to any member of the SS and police found guilty of engaging in a homosexual act. Hitler signed the decree on 15 November 1941 on the condition that there be absolutely no publicity, worried that such a harsh decree might lend fuel to left-wing propaganda that homosexuality was especially prevalent in Germany. Since it could not be published in the SS newspaper, the decree was communicated to SS men one-on-one by their superiors. However, this was not done consistently and many arrested men asserted that they had no knowledge of the decree. 
Even after the decree, only a few death sentences were pronounced. Himmler often commuted the sentence especially if he thought that the accused was not a committed homosexual, but had suffered a one-time mistake (particularly while drunk). Many of those whose sentence was commuted were sent to serve in the Dirlewanger Brigade, a penal unit on the Eastern Front, where most were killed. After late 1943, because of military losses, it was the policy to recycle SS men convicted of homosexuality into the Wehrmacht.
The 1933 law on habitual criminals also allowed for execution after the third conviction. On 4 September 1941 a new law allowed the execution of dangerous sex offenders or habitual criminals when "the protection of the "Volksgemeinschaft" or the need for just atonement require it". This law enabled authorities to pronounce death sentences against homosexuals, and is known to have been employed in four cases in Austria. In 1943, Wilhelm Keitel, head of the Oberkommando der Wehrmacht, authorized the death penalty for soldiers convicted of homosexuality in "particularly serious cases". Only a few executions of homosexual Wehrmacht soldiers are known, mostly in conjunction with other charges especially desertion. Some homosexuals were executed at Nazi euthanasia centers, such as Bernburg or Meseritz-Obrawalde. It is difficult to estimate the number of homosexuals directly killed during the Nazi era.
United Kingdom.
From 1533, under the Buggery Act 1533, capital felony for any person to "commit the detestable and abominable vice of buggery with mankind or beast", was enacted, repealed and re-enacted several times by the Crown, until it was reinstated permanently in 1563. Homosexual activity remained a capital offence until 1861. The last execution took place on 27 November 1835 when James Pratt and John Smith were hanged outside Newgate Prison in London.
United States.
During the colonial era of American history, the various European nations which established colonies in the Americas brought their pre-existing laws against homosexuality (which included capital punishment) with them. The establishment of the United States after their victory in the Revolutionary War did not bring about any changes in the status of capital punishment as a sentence for being convicted of homosexual behavior. Beginning in the 19th century, the various state legislatures passed legislation which ended the status of capital punishment being used for those who were convicted of homosexual behavior. South Carolina was the last state, in 1873, to repeal the death penalty for homosexual behaviour from its statute books. The number of times the penalty was carried out is unknown. Records show there were at least two executions, and a number of more convictions with vague labels, such as "crimes against nature".
Sudan.
In July 2020, the sodomy law that previously punished gay men with up to 100 lashes for the first offence, five years in jail for the second and the death penalty the third time around was abolished, with new legislation reducing the penalty to prison terms ranging from five years to life. Sudanese LGBT+ activists hailed the reform as a 'great first step', but said it was not enough yet, and the end goal should be the decriminalisation of same-sex sexual activity altogether.