A sample of the legalization of same-sex activity between consenting adults. It's never been illegal in Benin, Burkina Faso, Cambodia, Djibouti, Indonesia, Laos, Madagascar, Mali, Niger, North Korea, South Korea, Rwanda, Philippines, Poland, Taiwan or Vietnam:
1791: France
1793: Monaco
1794: Luxembourg
1795: Belgium
1811: Netherlands
1830: Brazil
1832: Bolivia
1858: Turkey
1871: Mexico
1871: Guatemala
1880: Japan
1880: Paraguay
1887: Argentina
1890: Italy
1899: Honduras
1924: Peru
1930: Iceland
1933: Denmark
1934: Uruguay
1942: Switzerland
1944: Sweden
1951: Greece
1951: Jordan
1951: West Bank (Palestine)
1956: Thailand
1961: Hungary
1962: Czechoslovakia
1967: England & Wales
1968: Bulgaria
1968: Germany (East)
1969: Germany (West)
1969: Canada
1971: Austria
1971: Costa Rica
1971: Finland
1972: Norway
1976: Bahrain
1977: Croatia
1977: Slovenia
1979: Spain
1979: Cuba
1981: Colombia
1981: Scotland
1982: Northern Ireland
1983: Portugal
1986: New Zealand
1988: Israel
1991: Ukraine
1992: Estonia
1992: Latvia
1993: Lithuania
1993: Ireland
1993: Russia
1994: Belarus
1994: Serbia
1995: Albania
1995: Moldova
1996: Bosnia & Herzgovina
1996: Romania
1997: People's Republic of China
1997: Venezuela
1997: Ecuador
1997: Australia
1998: South Africa
1998: Cyprus
1998: Kazakhstan
1998: Kyrgyzstan
1998: Tajikistan
1999: Chile
2003: Armenia
2003: United States of America
2008: Nicaragua
2008: Panama
2018: India
2018: Trinidad
2019: Angola
2019: Botswana