The 38-year-old was convicted over an April 2 machete attack at Gaba Early Childhood Development Program in Wakiso, near Kampala, after a judge rejected his insanity plea.
Witnesses said he posed as a parent, spoke briefly to staff, locked the gate and attacked the children, while spectators at the open-air mobile court cheered the ruling.
President Yoweri Museveni had ordered a fast-tracked trial, but the Uganda Law Society called it a judicial lynching rally; death sentences are rarely carried out in Uganda.
With child sacrifice rising despite the death penalty, is Uganda's justice system failing to protect its most vulnerable?
Was the public 'mobile court' a new form of justice for Uganda, or simply a state-sanctioned lynching?
Will the US intervene to save its citizen from hanging after he sacrificed four toddlers for wealth?