A local court on Saturday sentenced death to a man who attacked and hurt 29 children and three teachers at an eastern Chinese city kindergarten last month.

The Taixing Intermediate Court found Xu Yuyuan guilty of intentional homicide after a half-day open trial, which was attended by 300 people.

Xu admitted to the court his motive was to vent his rage against society. It was not known whether Xu would appeal his sentence.

Twenty-nine children and three adults were injured when Xu attacked them with a knife, at Zhongxin Kindergarten in Taixing city on April 29.

A string of school attacks has shocked China in recent weeks. Police have been ordered to beef up security at school compounds and nearby residential communities.

More In: International | News