The attack is being investigated as a hate crime and could lead to the death penalty, prosecutors say.