A court in China’s Yunnan province on Friday sentenced to death a man for murdering 19 people including three children and his own parents. The court found Yang Qingpei guilty of committing the killings on September 28 last year after his parents refused to give him money, Xinhua news agency reported.

Fearing he would be caught, Yang later killed 17 villagers – three children included – with a pickaxe and fled to Kunming. He was arrested the following day.

Yang, born in 1989, pleaded guilty to all charges and apologized to the relatives of the dead when going on trial on July 19. He accepted the sentence and said he will not appeal.