In the wake of the recent wave of campus violence, the California Supreme Court on Thursday weighed in on when universities can be held liable for attacks on students.

In a case brought on behalf of Katherine Rosen, a UCLA student who was stabbed by a classmate in a chemistry lab in 2009, the court held that universities have a “special relationship” with students and, therefore, have a duty to protect them from foreseeable violence in “curricular activities.”