The Criminal Justice (Scotland) Act 1980 is an Act of Parliament in the United Kingdom (citation 1980 c.62). It decriminalized private homosexual acts between two consenting adults in Scotland:
"Subject to the provisions of this section, a homosexual act in private shall not be an offence provided that the parties consent thereto and have attained the age of twenty-one years." (§80:1)
The homosexual age of consent fixed by the Act (21) was much higher than the heterosexual age of consent in the United Kingdom, which had been set at 16 since the Criminal Law Amendment Act 1885. The ages of consent for homosexual and heterosexual acts in Scotland were eventually equalised at 16 with the passage of the Sexual Offences (Amendment) Act 2000.
References
Criminal Justice (Scotland) Act 1980 Wikipedia(Text) CC BY-SA