Most popular stories from USA TODAY

NEW BRUNSWICK, N.J.  Under lengthy cross-examination Tuesday, a Rutgers University student testified that she did not believe she committed any crime when she was accused of using a webcam to spy on a gay student's sexual encounter.

"I personally felt I did something wrong. But I didn't understand the law, and I didn't understand it to be criminal charge," said Molly Wei, who has agreed to cooperate with prosecutors in their case against the gay student's roomate, Dharun Ravi.

Ravi had set up his computer to observe Tyler Clementi, who jumped off the George Washington Bridge in 2010 in the days following the alleged spying incident.

Ravi is charged with bias intimidation as a hate crime, invasion of privacy and hindering apprehension. He is not being charged in connection with Clementi's death.

Part of the charges against Ravi include streaming the images of Clementi and a man, known only as "M.B.," to a computer in Wei's dorm room.

Tyler Clementi: Killed himself after his roommate allegedly used a webcam to spy on his intimate encounter with another man.

Clementi Family via AP

Wei testified Tuesday that no statement she gave police was affected by what the friend she knew from high school told her. Ravi called Wei and texted her as she was brought into Rutgers police headquarters for questioning on Sept. 23, 2010.

By that time, Clementi was missing. His body was discovered Sept. 29, 2010, in the Hudson River .

Wei testified that Ravi wanted to know what she told police during questioning. Wei said she was scared and told Ravi they spied on Clementi because Ravi "just wanted to see what was going on."

Wei said Ravi then asked her if she told police they turned the webcam off immediately after seeing Clementi and M.B. in an embrace and Wei said "yes."

Under direct examination Monday, Wei testified that she twice watched Clementi and another man from a laptop in her room on Sunday, Feb. 19, 2010. Both viewings lasted only a few seconds, she said.

The first viewing was with Ravi in her room. The second occurred that same night with several female friends.

Wei also recounted Ravi's reaction to the viewing, testifying, "He was shocked, kind of surprised at what he saw, freaking out a little. We were both shocked. … We saw something we didn't expect to see, and it just felt weird."

On Tuesday, Wei testified that she didn't know that Ravi had tried to get other people to watch the webcam for a second time on the evening of Tuesday, Sept. 21. Clementi unplugged Ravi's computer in their shared room the night his guest came over a second time.

Wei also testified that she went to the police on her own Sept. 27 to provide additional information because she knew Clementi was missing at the time.

She was arrested that day and charged with two counts of invasion of privacy — one a fourth-degree offense, the other a third-degree offense. Jail time is not a penalty in either of the charges. Wei was accepted into a pretrial intervention program for first-time offenders.

During his cross-examination of Wei, defense lawyer Steven Altman went back and forth over the chronology of events in the days surrounding the spying incident. Altman asked Wei to describe her actions and reactions and to explain her correspondence with Ravi.

The judge stopped one line of questioning because it was unclear when Wei had a conversation with her friend.

Wei's friend, Alissa Agarwal, was called as a prosecution witness to begin the afternoon session. The trial is expected to last three to four weeks.