An Illinois appeals court in Ottawa has ruled that a Whiteside County Judge, Jeffery O’Connor, falling asleep during a murder trial does not warrant a retrial of the defendant in the case. The Illinois Appellate Court panel said as long as he wasn’t asleep during crucial evidence or motions during Nicholas Sheley’s 2014 trial.

Sheley was on trial for the murder of four people in Rock Falls that left six dead in Illinois and two in Missouri. O’Connor allegedly fell asleep while the lights were dim and security camera footage was being played for the jury but O’Connor denied the allegations.

“If I was not looking at the video, that does not mean that I was not listening and hearing everything that was being said,” said O’Connor.

RELATED: Barack Obama will fulfill his civic responsibilities again — this time in a Chicago courthouse

Sheley, who is serving eight consecutive life sentences, demanded a new trial because he alleged O’Connor repeatedly napped.

“Of course it should be automatic reversal if the judge falls asleep,” said Sheley’s attorney, Steve Greenberg. “It sends an awful message to the jurors that whatever is going on is just not important.”

RELATED: The courts have spoken on the Chicago Puppy Mill ordinance

Appellate Judge Mary O’Brien also disagreed with the majority, referencing a Cook County murder conviction that was dismissed after the judge left the bench during a trial to take a phone call from another judge.

“A judge cannot be actively present on the bench when he is asleep,” O’Brien said.

The appeals court ruled that O’Connor napping had no effect on the trial and the evidence against Sheley was overwhelming.

Illinois judge’s took nap during trail and panel of experts say it’s okay Shutterstock