Кодекс Наполеона
Male homosexual acts were illegal until 1791, when the ancient sodomy laws were dropped from the Criminal Code of that year. This continued to be the case under the Napoleonic Code of 1810.