Updated

A knife-wielding man is in police custody Friday after reportedly stabbing at least seven students to death and injuring 12 others in a bloody rampage outside a middle school in China.

The incident occurred near Mizhi County Number Three secondary school located in the Shaanxi province, the BBC reported. The suspect reportedly started stabbing students leaving school for the day. Five girls and two boys are among the dead.

Police identified the man by his surname, Zhao, and said he was a 28-year-old former student. He reportedly was "motivated to take revenge" after he was bullied during his time at the school.

It was not immediately clear how old the victims were, but local reports suggest they are between 12 to 15 years of age.