In a gut-wrenching video, a 13-foot-long python is seen regurgitating a stray dog after it had swallowed the canine alive. The incident took place Wednesday in a forest in the northern Indian state of Rajasthan.

A local wildlife enthusiast recorded the moment when the large Rock Python struggled to vomit out the dog in the city of Udaipur. 

"On Wednesday morning, we were going on a rescue and on the way we saw some people disturbing a four-meter-long (13-foot) Indian Rock Python that had eaten something... As we reached closer to the reptile, it was spilling out the kill which was a street dog," the man who shot the video said.

The man said it took the python almost half an hour to swallow the dog, which was possible because its jawbones are not connected. Snakes regurgitate their food when they are stressed and feel a predator is nearby.

"There have been several cases of python preying on goats and dogs in the recent past in Indian villages and snake experts believe the excessive deforestation is leading to a serious imbalance in local ecological system forcing the reptiles and other wild animals to come closer to human habitat," the man said.

In May, a huge python was captured in photos vomiting up another, bigger python. The incident took place in East Kimberley, Western Australia. The snake regurgitated another olive python of about the same length. According to reports, snakes become sluggish and lethargic after consuming a big meal. They will usually retreat to a safe spot where they will spend the next few days digesting their prey. However, they regurgitate if they are threatened. 

python This representational image shows a python on a tree inside his enclosure at the Dhupguri snake park in India, Feb. 8, 2006. Photo: REUTERS/Rupak De Chowdhuri