A home health aide for a woman suffering from Alzheimer’s disease can’t sue the homeowners over a job-related injury, the California Supreme Court has ruled.

The court—possibly the first in the country to address whether in-home caregivers for Alzheimer’s patients can sue under such circumstances—concluded that Carolyn Gregory bore the same “primary assumption of risk” as a caregiver who worked in a hospital or other institution.