DENVER -- The man accused of opening fire on an Aurora movie theater told a classmate he wanted to kill people four months before the shooting, newly released court records allege.

Prosecutors made the allegation in a motion released Friday seeking access to James Holmes' records from the University of Colorado Denver's neuroscience graduate program.

Holmes "had conversations with a classmate about wanting to kill people in March 2012, and that he would do so when his life was over," attorneys for the state wrote. The student wasn't identified.

That alleged conversation would have occurred at roughly the same time that police have said Holmes began receiving "a high volume of deliveries" at his home and at the university. Police haven't said what those packages contained, but they have said he ordered thousands of rounds of ammunition on the Internet.

The prosecution's allegation is the earliest report of a possible threat from Holmes, who was an enigma to many before, authorities said, he opened fire on a midnight showing of "The Dark Knight Rises" on July 20. Twelve people were killed and 58 were wounded.

Prosecutors allege Holmes also made unspecified threats to a professor in June, the same month in which, they say, he failed his year-end final. University officials say he left the program after the exam.

Holmes' attorneys argue that prosecutors should have no access to his student records. It's not clear whether Holmes' attorneys filed a response to the prosecution's allegations.

The prosecution motion was filed last week but not released by the judge until Friday, a day after a court hearing in which prosecutors first asserted that Holmes had made threats.

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Maduro, wife arrive for court ... Kids celebrate Three Kings Day ... Out East: Custer Institute and Observatory ... Get the latest news and more great videos at NewsdayTV

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Maduro, wife arrive for court ... Kids celebrate Three Kings Day ... Out East: Custer Institute and Observatory ... Get the latest news and more great videos at NewsdayTV

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME