Two college wrestlers were hunting in Wyoming over the weekend when they were attacked by a grizzly bear.

They worked together to fight off the bear, and everyone made it out alive.

The Wyoming Game and Fish Department said in a news release that the incident happened Saturday in Cody, Wyoming, when two men saw the bear up close while hunting for heavy antlers west of the Houlihan Bobcat Trail in the Shoshone National Forest.

Kendall Cummings said that he jumped on the grizzly bear to get it away from his friend Brady Lowry.

“I grabbed him, and I grabbed him by the ear,” Cummings told Cowboy State Daily. “I could hear his teeth hitting my head, and I could feel when he bit into my bones and made them crack.”

The two men were being attacked, but they were able to get away and call for help. One of them was taken by helicopter to a local hospital, and the other was taken by ambulance.

Both men, who wrestled together at Northwest College, are said to have had multiple surgeries after getting hurt all over their bodies and faces.

But Lowry and Cummings both think they are lucky to be alive and count their blessings.

“I don’t know what I’m going to do to repay you. Lowry told the Cowboy Daily Press, “I owe him everything” because of what Cummings did to save his life. “For the rest of our lives, we’ll be best friends.”