Colorado judge enters not guilty plea for James Holmes, trial date set for Aug. 5

James Holmes, who has been accused of shooting dead 12 people and injuring another 70 in a Colorado movie theater last July, is due to stand trial on August 5 after a judge entered a not guilty plea on his behalf.

The Denver Post reported Tuesday Judge William Sylvester entered the plea over the objections of Holmes’ defense team, who argued they needed more time to respond to the 166 counts of murder, attempted murder and other crimes.

A trial has been scheduled for August 5 and prosecutors will announce next month whether they plan to seek the death penalty for the 25-year-old, the Associated Press reported.

On Monday, Sylvester warned Holmes he must “waive all medical confidentiality and agree to be drugged for a psychiatric exam” if he later pleaded guilty by reason of insanity, NBC reported.

Sylvester said Holmes also could be given a polygraph examination as part of an evaluation at the state mental hospital.

Holmes allegedly spent months planning the July 20 shooting rampage at a midnight showing of the Batman film "The Dark Knight Rises" in the Denver suburb of Aurora.

A month before the attack, the former neuroscience graduate student at the University of Colorado had failed oral board exams.

More from GlobalPost: Widow of Colorado massacre victim sues James Holmes' psychiatrist

Will you support The World today?

The story you just read is available for free because thousands of listeners and readers like you generously support our nonprofit newsroom. Every day, reporters and producers at The World are hard at work bringing you human-centered news from across the globe. But we can’t do it without you: We need your support to ensure we can continue this work for another year.

Make a gift today, and you’ll get us one step closer to our goal of raising $25,000 by June 14. We need your help now more than ever!