Although California was one of the first states to legalize medical cannabis, and later recreational cannabis, voters and the courts have long resisted extending protections against discrimination in employment to cannabis users. In 1996, California voters passed Proposition 215, also known as the Compassionate Use Act of 1996, legalizing the use of cannabis for medical purposes, such as the treatment of anorexia, arthritis, chronic pain, and migraines.