BEIJING -- A Chinese man who hacked three children to death and injured 13 others at a daycare centre in southern China was sentenced to death on Saturday, the official Xinhua News Agency reported.

Wu Yechang was convicted of intentional homicide in the Guigang Intermediate People's Court in China's Guangxi region for the September 2012 attack that horrified the country.

It was one of several violent attacks on children in China in recent years that have resulted in tighter security at schools and kindergartens.

The attacks also have led to calls for more attention to mental illnesses and prompted concern over rising stress in Chinese society.

Wu suffered from illness and loneliness when he targeted the children at the Red Apple daycare centre in Guangxi's Pingnan county, Xinhua said.

He told police in 2012 that he initially wanted to kill himself but decided to do something bigger. Reports say the jobless man bought an axe and was wandering when he saw the daycare centre.