Police say the registered sex offender followed a student home and pushed himself through the doors of Allen Hall. He grabbed the victim in a choke-hold and dragged her outside.
After hearing screams, another student came to her aid, and confronted Hayes who then ran off. Police responded just after 3 am.
Around the same time, Sami Kosinski got an Illini Alert. She's lived in Allen Hall for more than a year.
She says it's scary to think someone got into her building, but it's nice to know there are people around to help. Kosinski also feels comfortable knowing cameras are watching in case of these types of events.
Police say, because of them, Hayes was arrested less than an hour after the attack. He was found at home after an officer recognized him in some of the surveillance video.
Copyright 2015 Nexstar Broadcasting, Inc. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.