A question Aurora theater shooting suspect James Holmes is accused of asking in two online dating profiles can be used as evidence at his trial, the judge overseeing Holmes' murder case ruled Thursday.

In two profiles — one for Match.com and another for Adult FriendFinder.com — prosecutors allege that Holmes wrote, "Will you visit me in prison?"

Attorneys for Holmes sought to keep details from the online dating profiles, including the question, out of evidence.

Holmes' lawyers said the information is irrelevant to the case and would prejudice the jury against him, in part because it could lead jurors to speculate on Holmes' dating lifestyle.

The question, they say, can be used to argue the crucial issue of whether Holmes — whose attorneys have admitted he committed the attack but did so while insane — knew whether what he was doing was wrong.

On Thursday, Judge Carlos Samour sided with the prosecution, finding that the dating profiles are relevant to the case.

Missy Franklin, Jenny Simpson, Adeline Gray and three other Colorado women could be big players at the 2016 Rio OlympicsWhen people ask Missy Franklin for her thoughts about the Summer Olympics that will begin a year from Wednesday in Rio de Janeiro, she hangs a warning label on her answer.