Cornell University junior Patrick Dai was arrested on a federal complaint Tuesday for allegedly calling for the deaths of Jewish people online and threatening to shoot up an on-campus dining hall.

The 21-year-old engineering student hails from Pittsford, New York, about 80 miles northwest of the Ithaca campus.

His mother told the New York Post that Dai suffers from “severe depression” and was on the brink of suicide before his arrest.

In a string of disturbing posts on a Greek life message board that was not affiliated with the school, Dai allegedly threatened to “shoot up 104 west,” a campus dining hall that serves kosher food, according to a federal complaint. The cafeteria is next door to the Cornell Jewish Center, which provides housing for Jewish students.