In a horrifying incident, a man was rescued after a 10-foot-long python coiled itself around his neck. The incident took place in the southern Indian state of Kerala on Tuesday.

Bhuvanachandran Nair, 61, was clearing bushes near a dam Tuesday afternoon when he came across something that resembled a spotted cloth. When he went closer, he realized it was actually a huge snake. He immediately alerted other laborers. They decided to capture the reptile and take it away from the area.

Accordingly, Nair brought a sack to capture the python. However, when he attempted to put it inside the sack, the reptile slithered from his grip, crawled up his body before wrapping itself around his neck. When he raised an alarm, some of his co-workers immediately rushed to free him. However, when they tried to uncoil the reptile, the python tightened its grip and choked the man who began to cough.

A video of the incident showed a few men attempting to pull the reptile off the man’s body. After a while, the reptile loosened its grip and the man was freed.

According to local reports, the man escaped with minor injuries. He was, however, taken to a nearby hospital after he complained of pain in the neck. He was discharged the same evening. The python, on the other hand, was handed over to the forest officials. The snake will be released into the wild after two days.

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