A man attacked by bear was shot by his friend while the latter was attempting to spare him from the brutal attack of the beast.

According to NBC News, the man attacked by a Grizzly bear was shot accidentally when his hunting partner decided to save him.

The incident happened at around 9 a.m. Sunday near Fernie, British Columbia, said Ministry of Environment representative David Karn.

The Canadian man in the man attacked by bear and shot story was identified later on as 56-year-old taxidermist Wilf Lloyd.

He was fortunately saved because "during the attack, the victim's hunting partner shot at the bear, killing the bear," said Karn, who added that "the bear is a grizzly bear boar [sic] and it is believed at this time to be the only bear involved."

Conservation officers and emergency officials quickly responded to the scene after receiving a call about a man attacked by a bear and shot accidentally by his friend.

Canadian media outlets reported that the man attacked by bear and shot was immediately transported by a STARS air ambulance to a Calgary hospital.

Initial reports state it's not clear where Lloyd was wounded or how extensive the injuries from the mauling were, but he was shortly listed in stable condition.

STARS spokesman David Fairbanks told reporters that apart from the wounds he got from the Grizzly bear's attack, he was also "shot accidentally by his hunting partner while attempting to neutralize the animal."

"STARS responded to the Fernie area around 9:23 a.m. to transport a 56-year old male who had been mauled by a bear and shot while another person attempted to neutralize the animal," Fairbanks reiterated, according to Calgary Herald.

The hunting partner who accidentally shot Lloyd was not injured.

The man attacked by a bear and shot story comes just a month after Calgary hunter Rick Cross was killed during an attack by a Grizzly bear in Kananaskis Country when he stumbled upon a female bear and her cub.

Investigators said that attack was purely defensive and that a freshly killed deer carcass was also found in the area.

Just this July, two men from Fernie were also attacked by a female bear on Mt. Proctor. One was injured in the arms and chest area while the other was attacked in the arms and legs, MSN News has learned.