Diver reacts to attacking bull shark just in time; video

Kerry Daniel was spearfishing with friends off the coast of north Queensland, Australia, near the Great Barrier Reef when he suddenly found himself face-to-face with an attacking bull shark.

Daniel explained to Daily Mail Australia that he had swum away from the others and had seen the bull shark swimming around below him about 55 yards away. He attempted to swim away from it, but then it turned and started charging toward him.

The diver captured the scary encounter on video and shared it on his YouTube Channel called Liquid Vision:

With not much time to react, Daniel pointed his speargun straight toward the attacking bull shark, which opened its mouth as if it were going to take a bite out of the speargun or Daniel.

In an instant, Daniel plunged the spear into the bull shark's mouth and the shark began to writhe.

RELATED: Florida diver attacked by bull shark; suffers 'significant' injuries

"He ripped the gun out of my hand, ripped the line off too," Daniel told the Daily Mail Australia. "I didn’t realize the gun was stuck in his mouth so I was waiting for him to spit it out but then thought it wasn’t worth it and swum away."

He did not know what ultimately happened to the shark.

Several shark experts and spearfishermen told Daniel they had never seen that aggressive behavior before.

"We've had reef sharks come up to us before," he said. "They might take a fish off your line after you shoot it, but nothing like this."