NEW YORK (CBSNewYork) — A rabbi has been accused of sexually abusing a student at a religious school on Long Island four years ago.

Gary Lieberman, 56, of Far Rockaway pleaded not guilty on two counts of first-degree sexual abuse in First District Court in Hempstead on Friday. He was freed on $100,000 bond and ordered to stay away from his accuser.

Lieberman repeatedly abused the student between November 2009 and May 2010 at the Hebrew Academy of Nassau County in West Hempstead, where he was a teacher, police said.

Lieberman was terminated from his job at the Hebrew Academy in August 2010, but police say he may have continued teaching at other private religious schools. Sources told CBS 2’s Carolyn Gusoff he was let go for inappropriate touching that didn’t rise to the level of a crime. Parents said they were told he was massaging students’ necks.

School officials said they learned of the alleged abuse this year and notified police, who arrested Lieberman on Thursday.

“There was an allegation regarding an incident which allegedly occurred years ago which was recently brought to our attention regarding a teacher that has not worked at the school for several years,” the school said in a statement.

“The school was proactive in reporting the allegation to the police and we are continuing to cooperate with their investigation,” the statement continued.