NEW YORK (CBSNewYork) – Police say an attempted rapist has been caught after somehow sneaking into a Brooklyn woman’s apartment and attacking her as she slept.

The NYPD says 24-year-old Akijah Hall was arrested several hours after the terrifying incident inside a Williamsburg bedroom.

READ MORE: Commuters Say Traffic In New York City Is An Accident Waiting To Happen

Investigators accuse Hall of being the man who was found sitting on the victim’s bed as she was sleeping around 4:30 a.m. Friday morning.

Police say he tried to hold her down, but her screams woke up her roommate and the two fought off the attacker who then ran away.

Detectives spent the day at the victim’s building, gathering evidence and carrying it out in brown bags.

READ MORE: NYPD Hosts Block Party In Same Mount Eden Neighborhood Where Children Were Caught In Middle Of Gunfire

(Credit: CBS2)

Hall is now facing several charges including attempted rape, burglary, sex abuse, and forcible touching.

It’s still unclear how the man got into the building and into the woman’s apartment.

Brooklyn residents told CBS2 Friday night that the area is littered with local bars and restaurant; making for a crowded scene and a danger for unsuspecting women.

MORE NEWS: Bear Spotted Roaming Connecticut Neighborhood

“There’s so many bars here and they should pay attention to who’s behind them, around them, should be very careful,” neighbor Mandeep Kumar said.