Anders Breivik
© The Associated Press/Frank AugsteinAnders Behring Breivik talks to his lawyer Vibeke Hein Baera in the courtroom in Oslo where he was sentenced to prison.
Oslo, Norway - Anders Behring Breivik got what he wanted - a prison term instead of an insanity ruling - as he received his sentence Friday for bomb and gun attacks that killed 77 people last year.

Breivik, a self-styled anti-Muslim militant, looked pleased as Judge Wenche Elisabeth Arntzen read the ruling, declaring him sane enough to be held criminally responsible for Norway's worst peacetime attacks.

Going against the recommendation of prosecutors, who had asked for an insanity ruling, the five-judge panel in the Oslo district court convicted Breivik of terrorism and premeditated murder. They imposed a sentence of "preventive detention," a special prison term for criminals considered dangerous to society.

She set the minimum length of imprisonment to 10 years and the maximum at 21 years, the longest allowed under Norwegian law.

However, such sentences can be extended as long as an inmate is considered too dangerous to be released. Legal experts have said that in Breivik's case, that could mean he will spend the rest of his life in prison.

Wearing a dark suit and sporting a thin beard, Breivik smirked as he walked in to the courtroom to hear his sentence and raised a clenched-fist salute.

Breivik, 33, confessed to the attacks during the trial, describing in gruesome detail how he detonated a car bomb at the government headquarters in Oslo and then opened fire at the annual summer camp of the governing Labor Party's youth wing. Eight people were killed and more than 200 injured by the explosion. Sixty-nine people - mostly teenagers - were killed in the shooting massacre on Utoya island. The youngest victim was 14.

Source: The Associated Press