In 2003, the Croatian government passed laws prohibiting discrimination based on sexual orientation in employment and education, the distribution of homophobic materials, and defamation of homosexuality and homosexuals. Limited scope of rights were conferred upon same-sex couples after three years of cohabitation in 2003, but registered unions were not permitted until 2014. Since then Croatia provides all marital rights except joint adoption for registered and non-registered same-sex partnerships.