A Pennsylvania court has ruled that the state must restore the Pennsylvania State University pension of convicted child molester and former Nittany Lions assistant football coach Jerry Sandusky.

The Associated Press noted that the Commonwealth Court panel ordered unanimously Friday that the pension of $4,900 a month, which was taken away after the 71-year-old was found guilty of sexually abusing 10 boys, be reinstated.

The panel agreed that the State Employees' Retirement Board wrongly concluded that Sandusky was a Penn State employee when he committed his crimes.

"The board conflated the requirements that Mr. Sandusky engage in `work relating to' PSU and that he engage in that work `for' PSU," Judge Dan Pellegrini wrote. "Mr. Sandusky's performance of services that benefited PSU does not render him a PSU employee."

The pension was terminated in October of 2012, when he was sentenced to  30 to 60 years behind bars.

The judges also ordered that interest be paid back. Fox News reported that the pension will go to his wife.