A large python bit a 10-year-old boy who escaped after kicking the reptile in the head. The incident took place in the southern Indian state of Karnataka.

The boy, identified as Sankalp Pai, was walking to a temple near his home Wednesday evening when the reptile attacked him after slithering out from a sewage pipeline. The snake caught hold of the boy’s leg.

In order to escape, the child, a grade five student, fought back and kicked the reptile in the head. He then started shaking his leg and after a five-minute struggle, the reptile let go of the boy and slithered into the pipe, local website Asianet Newsable reported.

The boy then alerted the nearby residents who immediately contacted a snake catcher. The man arrived at the scene and removed the python from the pipe. The snake was then taken to a biological park, News 18 reported.

In the meantime, the boy, who was bitten in the leg by the reptile, was taken to a hospital for treatment. The boy’s family confirmed that he was doing well and his bite wound was slowly healing.

The incident comes days after a 10-year-old girl died after being bitten by a common Krait in the southern Indian state of Kerala. Adhitya was sleeping next to her parents when the venomous snake slithered into the home and bit her. Adhitya’s parents noticed a small swelling and took her to a local hospital. Doctors confirmed the girl was bitten by a snake. After her condition deteriorated, the girl was transferred to a private hospital where she died. In the meantime, local authorities arrived at their home to inspect and captured the snake after finding it hiding under the bed.

In another similar incident, a 10-year-old boy died after a venomous snake bit him while he was sleeping on the floor beside his parents at their home in the southern Indian state of Telangana.

Python
In this photo, Edward Mercer, a Florida Fish and Wildlife Conservation Commission non-native Wildlife Technician, holds a Burmese Python during a press conference in the Florida Everglades about the non-native species in Miami, Florida, Jan. 29, 2015. Getty Images/ Joe Raedle