Number of LGBT-related laws changed over time
- JanuaryHomosexual activity becomes illegal (death penalty as punishment).
- October 27Serving openly in military becomes illegal.From 27 October 1827 to 23 February 1843, Fernando Po remained legally Spanish territory but was partly administered by the United Kingdom. Royal Navy personnel could be punished under Article II of the Naval Articles of War for “uncleanness” or “other scandalous actions” by any punishment a court-martial deemed appropriate; Royal Navy officers could also be dismissed under Article XXXIII, the officer-misconduct article for scandalous or infamous conduct unbecoming an officer. From 27 October 1827 to 22 March 1829, any British Army enlisted personnel there would have been governed by the Mutiny Act 1827 and the Army Articles of War catch-all for disorders or neglects prejudicial to good order and military discipline, while Army officers could be cashiered or dismissed under the Army Articles of War for scandalous or infamous conduct unbecoming the character of an officer. From 23 March 1829, British Army enlisted personnel could be punished for “disgraceful conduct” under the Mutiny Act 1829 and Army Articles of War, especially after the War Office circular of 23 November 1829 interpreted that category to include “unnatural” vice or misconduct; Army officers continued to be punishable by cashiering or dismissal for scandalous, disgraceful, or conduct unbecoming an officer.
- January 27
- (date unknown)Same-sex adoption becomes single only.Date reflects beginning of British colonization of Malaysia. Homosexuality is illegal in Malaysia.
- DecemberHomosexual activity becomes legal.In 1823, The Supreme Court of Ohio ruled in Key v. Vattier that the state did not recognize common-law crimes; the legality of sodomy was no longer unclear.
- July 1Homosexual activity becomes male illegal, female uncertain.The Penal Code of Revolutionary Greece (Ἀπάνθισμα τῶν Ἐγκληματικῶν; Collection of Criminal Offenses) criminalized men who engaged in same-sex practices (ἀρσενοκοῖται). However, for offenses considered to go against morality, the courts during the Greek Revolution did not apply the provisions of the Apanthisma, but rather the provisions of the Byzantine criminal law, the Basilika.
- DecemberHomosexual activity becomes legal.In 1822, Alabama's Supreme Court ruled in the case of Coburn v. Harwood that sodomy was not an indictable offense in Alabama under the common law.
- July 9Equal age of consent becomes equal.The age of consent for homosexual relations is equal to that of heterosexual ones in El Salvador.
- Homosexual activity becomes legal.The first Penal Code in El Salvador removed all mentions of sodomy as a crime in 1822.
- January 1Homosexual activity becomes illegal (up to life in prison as punishment).
- Equal age of consent becomes equal.The age of consent is set equally at 18 years of age in the Code for the protection of the rights of children and adolescents.
- Homosexual activity becomes legal.