A juvenile male black bear broke through the window at a senior living village in Indiana, Pennsylvania, likely while looking for food. According to CBS News, after the animal broke through a window at St. Andrews Village, nurse Charlene Elliot picked up a walker and struck the bear.

"I grabbed a walker and was hitting him, trying to get him away from the residents," Elliot said. "My thought was he was going to maul them or swipe at them. That was my worst fear."

Elliot said some nurses attempted to lure the bear out of rooms with items like Rice Krispies treats, but she said she and her team had to basically wrangle the bear and push it out of the door.

The Pennsylvania Game Commission later set up a trap and was able to humanely catch and relocate the 150-pound yearling.

Elliot said she’s sure the residents are happy that she and the team acted quickly and was smarter than the average bear.

"We are incredibly proud of our team's quick thinking and dedication to ensuring the safety of everyone in our community. To prevent future wildlife encounters, the game warden safely relocated the bear to a more suitable habitat today and all bird feeders on our campus were removed," Presbyterian Senior Living said in a news release.