A judge said two former Penn State University officials can be tried on charges of lying to a grand jury in the university's child sex abuse scandal.

District Judge William Wenner ruled Friday that prosecutors had probable cause to send the case against Tim Curley and Gary Schultz to trial.

Wenner heard testimony against Curley, Penn State's former athletic director, and Schultz, a former university vice president who oversaw campus police, on charges they lied to a grand jury and didn't properly report an allegation that former assistant football coach Jerry Sandusky sodomized a boy in a locker room shower in 2002.

Their lawyers maintain the men are innocent, and contest testimony that they were told about the seriousness of the matter.

Sandusky said he's innocent of more than 50 counts of child sex abuse involving 10 boys over a span of 12 years.

During Friday's hearing, former Penn State star quarterback and now star witness Mike McQueary testified he told Curley and Schultz that he saw Sandusky molesting the boy, saying it was "extremely sexual in nature."

Curley and Schultz are charged with lying about what McQueary, now 38, described to them.

Caroline Roberto and Tom Farrell, the Pittsburgh-based attorneys representing Curley and Schultz, said in a statement this week their clients are eager "to start the process of clearing their good names and demonstrating that they testified truthfully to the grand jury."

WFMZ's Bo Koltnow was in Harrisburg for the hearing and sent periodic updates as the hearing progressed.

12-16-11 3:18 p.m. @BKoltnow The case will be going to trial, for both Curley and Schultz. #curley #schultz

McQueary testified Friday that he walked into a locker room and heard someone in the shower.

He said he heard rhythmic, slapping sounds, like that of skin on skin.

"I looked in the mirror and shockingly and surprisingly saw Jerry with a boy in the shower," McQueary told the court.

He said Sandusky was behind the boy and the boy was up against a wall. He said he believes Sandusky was sexually molesting the boy but he did not see insertion and did not hear protests. He said he believes the two were engaged in intercourse but he cannot be sure.

"They were as close as they could be," he said.

McQueary said he looked away for a few moments, and when he took a closer look, the two were standing apart.

"They had turned so their bodies were both facing me... They looked directly in my eyes," he said. "Seeing that they were separated, I thought it was best that I leave the locker room."

He added that he felt "shocked" and "horrified" afterward.

"I was not thinking straight," he said, adding that he was "sure (the incident) was over" when he left.

But McQueary acknowledged he doesn't know what happened after leaving. He testified that he also never tried to find the boy.

McQueary, then a graduate assistant, said he called Paterno -- who was later fired in the wake of the scandal -- the morning after, telling him that he "saw Jerry with a young boy in the shower and it was extremely sexual in nature and I thought I needed to tell him about it."

McQueary testified that the former head coach was "shocked" and "saddened" upon hearing the allegation.

"He said, 'I need to think and tell some people about it.'"

But McQueary didn't meet with university officials to explain what he saw until more than a week after first informing Paterno, he testified.

Paterno also allegedly never tried to find the boy, said McQueary, who said he can't be certain if he ever used the word "intercourse" when describing the alleged incident to the former head coach.