A Montana hunter's life has been spared after he was attacked by a grizzly bear while out hunting with his brother - and it's all thanks to his grandmother's advice.

The brothers were hunting in the northwestern part of Choteau on Saturday when Chase Dellwo, 26, encountered a male grizzly that was more than 350 pounds, according to the Associated Press.

Chase walked on a narrow creek bed to drive the elk herd they spotted up to a ridge where his brother Shane, 30, would be waiting for them. However, he then saw a bear that was three feet away and sleeping.

The bear was caught off guard with Chase's presence, mainly due to the strong winds as well as the heavy rain and snow. Chase could barely take a few steps back when the bear knocked him down and bit him at the back of his head and down on the top.

"He let go, but he was still on top of me roaring the loudest roar I have ever heard," Chase said, according to the Great Falls Tribune. "He came back and bit my lower right leg and gave it a pretty good shake and threw me a ways."

When the bear came after him once again, Chase immediately had a light bulb moment. "I remembered an article that my grandmother gave me a long time ago that said large animals have bad gag reflexes. So I shoved my right arm down his throat."

The strategy worked and the bear left. After the attack, Chase managed to drag himself to the ridge where Shane had waited.

The pair went to the Benefis Teton Medical Center so that Chase could get treatment before he was taken to a local hospital in Great Falls, where he still recuperating, according to the Daily Mail UK.