The prosecutor described a scene of horror, with the court shown video footage of screaming young girls fleeing the building. One bloodied girl was seen collapsing outside, provoking gasps and sobs from the public gallery.
He also pleaded guilty to 10 charges of attempted murder relating to the attack, as well as to producing the deadly poison ricin and possessing an al Qaeda training manual.
Before Rudakubana’s outburst, Heer had said he was not inspired by any political or religious ideology.
“His only purpose was to kill and he targeted the youngest, most vulnerable in order to spread the greatest level of fear and outrage, which he succeeded in doing,” she said.
“Whilst under arrest at the police station after the incident, Axel Rudakubana was heard to say ‘It’s a good thing those children are dead … I’m so glad … so happy’.”
Heer said images and documents found on a computer at his home showed “he had a long-standing obsession with violence, killing and genocide”.
British Prime Minister Keir Starmer has said there were “grave questions” for the state to answer as to why the murders took place.
The government has announced a public inquiry into the case after it said Rudakubana had been referred three times to Prevent, a counter-radicalisation scheme, but no action had been taken.
Starmer has said the attack could show that Britain faces a new type of terrorism threat waged by “loners, misfits, young men in their bedrooms” committing extreme violence.