Christopher Petronino, 50, was fighting for his life inside the cave in the Split Rock Reservoir Park in New Jersey. The three scouts kept their cool and even tried to lure the bear away in the December 20 incident.

Petronino managed to hit the bear twice in the head with a rock hammer before curling into a fetal position and covering his face with a sweatshirt, authorities told the NJ.com.

According to reports, the call lasted nearly 90 minutes as help tried to arrive to them.

The rescuers had trouble finding them in the park. The Scouts then got the bright idea to make a signal fire to help rescuers locate them in the park.

The fire worked as helicopters began to hover over the area and incredibly, the bear let go of the scout master and ran away.