A campus police officer shot and killed the president of a gay and transgender student group outside a Georgia Tech dormitory in Atlanta on Sunday. A cellphone video shared widely online showed the student, who was believed to be holding a knife, yelling “shoot me” at the officers before one opened fire.

The student, Scout Schultz, 21, died at a local hospital from a single gunshot wound, according to a statement by the Georgia Bureau of Investigation, which is investigating the altercation.

The killing, which happened in full view of students in the dormitory, immediately raised questions about why the campus police were so quick to use deadly force.

After what the university called a peaceful vigil for Schultz on Monday night at Georgia Tech, about 50 people marched to the campus Police Department, where a police car was set on fire and two officers received minor injuries, the authorities said. Three people were arrested on charges of inciting a riot and battery of an officer. At one point, the university urged students to stay inside because of the violence.