A New Jersey man allegedly broke into a home through a bathroom window and tried to sexually assault a girl as she slept early Saturday before he was subdued by the resident inside. 

Jermin Fordyce, 36, is charged with first-degree counts of home invasion, burglary and attempted aggravated sexual assault, as well as second-degree aggravated assault, the Bergen County Prosecutor’s Office said. 

Hackensack police officers responded to a home around 3:40 a.m. for a home invasion burglary. Once at the scene, they found Fordyce, who had been subdued by the residents inside the home after they found him inside one of the bedrooms, police said. 

Fordyce entered the home through a bathroom window and entered the bedroom of the girl who was sleeping, officials said. Police described the victim only as a "resident." court hearing.