Anders Breivik, the man responsible for one of the worst crimes in Norwegian history, was declared sane and sentenced to 21 years behind bars Friday morning.

That sentence is the maximum under Norwegian law, however Breivik can be held in prison for as long as officials declare that he is dangerous.

Breivik was found guilty for a spat of hate-motivated violence that left 77 people dead, 69 of them teenagers. Another 242 were injured in Breivik’s tirade of violence.

He didn’t seem phased as the ruling was handed down, with Breivik’s lawyer saying he would appeal any ruling that deemed him insane.

Breivik even appeared to smirk when the judge declared him sane, acknowledging his role in the bloodbath that he called “cultural self defence.”

In his final words, he regretted not killing more people, apologizing to other “militant nationalists” for not achieving an even higher death toll. He said he wouldn’t appeal the ruling because that would “legitimize” a court he said got its mandate from a political system that supports multiculturalism.

Many Norwegians had hoped he would be declared sane, feeling any other ruling would have diminished his responsibility for the attacks.

Breivik detonated a bomb outside the ruling labour party’s government headquarters, killing eight, before opening fire at unsuspecting teens at the island of Utoya’s youth camp.