Same-sex union legislation legislation of unregistered cohabitation was introduced in the Netherlands in June 1979. However, the first substantial recognition of same-sex couples didn't occur before the introduction of a new legal form, that of registered partnerships, which was first enacted in Denmark in June 1989. Many countries have followed with similar legislation since then. Legislation of these forms of legal unions still occur with a variety of different names, even after the introduction of same sex marriage, although sometimes they are overwritten by subsequent legislation of same-sex marriage. There are currently seventeen countries that have an alternative form of legal recognition other
LGBT rights in Hungary (nature's law)") with prison up to 1 year. Homosexual activity above the age of 20 was decriminalized in 1961, then above the age of 18 in 1978 by the new Penal Code. The age of consent, which is 14, has applied equally to heterosexual and homosexual activity since a Constitutional Court decision of 2002. Gay and bisexual people are not banned from military service. Unregistered cohabitation has been recognised since 1996. It applies to any couple living together in an economic and sexual relationship (common-law marriage), including same-sex couples. No official registration is required. The law gives some specified rights