The trial of Anders Behring Breivik, the perpetrator of the 2011 Norway attacks, took place between 16 April and 22 June 2012 in Oslo District Court. Breivik was sentenced to 21 years of preventive detention on 24 August 2012. 170 media organisations were accredited to cover the proceedings, involving some 800 individual journalists.
The main question during the trial became the extent of the defendant's criminal responsibility for these attacks and thereby whether he would be sentenced to imprisonment or committed to a psychiatric hospital. Two psychiatric reports with conflicting conclusions were submitted prior to the trial, leading to questions about the soundness and future role of forensic psychiatry in Norway.
On 25 July 2011, Breivik was charged with violating paragraph 147a of the Norwegian criminal code, "destabilising or destroying basic functions of society" and "creating serious fear in the population", both acts of terrorism under Norwegian law.
Forensic psychiatrists Torgeir Husby and Synne Sørheim, who conducted the psychiatric analysis of Breivik and released their report in December 2011, found that he was suffering from paranoid schizophrenia, supporting a would-be insanity defence or criminal insanity ruling by the court. However, subject to massive criticism from legal and psychiatric experts, the court decided to appoint two new psychiatrists, Terje Tørrissen and Agnar Aspaas, who were to conduct another analysis. Breivik was initially uncooperative with the new psychiatrists because of the previous report having been leaked to the media, but he later changed his mind and decided to cooperate. On 10 April 2012, psychiatrists found that Breivik was legally sane. If that conclusion is upheld, Breivik can be sentenced to prison or containment.
Breivik is represented by his defence counsel Geir Lippestad, Vibeke Hein Bæra, Tord Jordet and Odd Ivar Grøn. Lippestad and Bæra are both in their late forties, whereas Jordet and Grøn who are both in their thirties and were in employment at Lippestad's law firm prior to 22 July 2011 as associates. Bæra, who has ten years of experience as public prosecutor, was hired as a partner following Lippestad's accepting the request from Breivik to defend him. The prosecution is represented by state prosecutors Svein Holden and Inga Bejer Engh.