A major family law reform was implemented in Sweden during 1987. A new marriage code was enacted. Certain limited rights were granted to cohabitants. A special law protecting the right of homosexual cohabitants was adopted. And consequently, the Inheritance Code and a number of other laws had to be amended to meet the requirement of the above mentioned legislation.