ARAPAHOE COUNTY — Prosecutors have won a partial victory in their effort to obtain theater shooting suspect James Holmes’ educational records from the University of Colorado.

In a ruling dated Monday, Judge William Sylvester “finds certain pages may be released to the people with certain redactions of confidential information.”

The notation was contained in a “register of actions,” which lists all the documents filed in the case against Holmes, a 24-year-old former student in CU’s neuroscience program who is accused of firing on a sold-out crowd watching a midnight showing of “The Dark Knight Rises” at the Century Aurora 16 theater on July 20.

Twelve people died and 58 others were injured in the attack.

Holmes faces 24 counts of murder, 116 counts of attempted murder, one count alleging possession of explosives and one count alleging that he committed a crime of violence.

Prosecutors had filed a subpoena that generated about 100 pages of records, included such things as Holmes’ application to CU and the results of tests he took.

Defense attorneys Daniel King and Tamara Brady had argued in court last Thursday that the documents were protected under state and federal law and should not be turned over to prosecutors.

Sylvester’s ruling has not been made public and so it is not clear which documents were ordered to be turned over to prosecutors.

Also on Monday, according to the register of actions, Holmes’ defense attorneys filed a motion for sanctions against the prosecution. The motion, according to the register of actions, was “resulting from prosecution’s reckless disregard for the truth.”

As with the ruling, it’s not clear exactly where the defense motion was aimed as it remains sealed.

In court last Thursday, Karen Pearson, the lead prosecutor, asserted that CU officials had banned Holmes from campus after he had made a threat. During the hearing, King, the lead defense attorney, said he would “question the validity of some of that,” and a short time afterward university officials denied that Holmes had ever been banned from campus.

A CU spokeswoman said Holmes’ access card was disabled after he voluntarily withdrew from the intense neuroscience program he was in.

Documents subsequently made public in the case included allegations that Holmes talked about killing people in a conversation with a classmate in March and that he threatened a professor at CU on June 12. In between, Holmes failed an important oral exam.

John Ingold: 303-954-1068, jingold@denverpost.com or twitter.com/john_ingold