JERSEY CITY - A Jersey City teacher has been arrested for allegedly having sex with a student while class was in session.

Keith McGee, 37, of Glen Rock, has been charged with sexually assaulting a female student at Snyder High School. Police say the assaults took place at the school during school hours.

The Hudson County Prosecutor's Office says McGee, a graphic arts teacher, was arrested Monday when he turned himself in at the special victims unit.

Spokesman Gene Rubino says the assaults began in 2013 when the alleged victim was 16, and went on for about a year. 

McGee is out on bail. The district has not said what action it has taken in regard to the teacher.