The suspect in last year's deadly shooting at a Colorado movie theater will be undergoing a mental evaluation at a state hospital -- and the results of that evaluation may not be known for months.

James Holmes in court (KCNC TV)

A judge today accepted a plea of not guilty by reason of insanity from James Holmes, charged with killing 12 people and injuring dozens of others. Prosecutors are seeking the death penalty.

The doctors who will be evaluating him will first want to review the 40,000 pages of evidence in the case.

The judge today also ruled that prosecutors can have access to a notebook Holmes sent to a psychiatrist before last summer's rampage. He ordered the notebook to be turned over next week.

Media reports have said the notebook contains drawings depicting violence.

(Copyright 2013 The Associated Press. All Rights Reserved)