The two men who pleaded guilty to killing a six-year-old boy with a hammer received life sentences at the High Court in Pietermaritzburg on Friday.