The age of consent is 16, regardless of gender and sexual orientation.
That made Armenia the second country of the former Soviet Union, after Estonia, to recognise same-sex marriages performed abroad.
The specific article of the Penal Code was 116, dating back to 1936, and the maximum penalty was 5 years.
The abolition of the anti-gay law along with the death penalty was among Armenia's pre-accession conditions to the Council of Europe back in 2001.
Until 2003, the legislation of Armenia followed the corresponding Section 121 from the former Soviet Union Penal Code, which only specifically criminalized anal intercourse between men.
Lesbian and non-penetrative gay sex between consenting adults was not explicitly mentioned in the law as being a criminal offence.
In December 2002, the Azgayin Zhoghov (National Assembly) approved the new penal code in which the anti-gay article was removed.
In May 2012, suspected "Neo-Nazis" launched two arson attacks at a lesbian-owned pub in Armenia's capital, Yerevan.
However, even though it has been decriminalized, the situation of local lesbian, gay, bisexual, and transgender (LGBT) citizens has not changed substantially.
Many LGBT Armenians fear being socially outcast by their friends and families, causing them to keep their sexual orientation or gender identity secret.
Many LGBT people claim to fear violence in their workplace or from their family, and therefore, are said to not file complaints of claimed human rights violations or of criminal offences.
Nevertheless, in 2017, Armenia became the second Asian country where same-sex marriages performed abroad are recognised.