Male homosexual acts were legalised in Denmark (lesbianism was never illegal) with an age of consent set at 18, after a major reform of the Penal Code in 1930; At the same time, the age of consent for heterosexual acts was raised from 12 to 15. In 1976, the age of consent was harmonized at 15 for all acts . Sex with a child under the age of 12 results in double punishment, and sex with a minor under 18 is illegal for a person in charge of the child.