Court says the attack was a serious challenge to democracy and posed a significant danger to many people.