Saved! (Diptendu Dutta/AFP/Getty Images)

The three-year-old female elephant was able to clamber out of the pit after officials used a bulldozer to dig out one side. The animal immediately escaped into the jungle to join the rest of her herd.

While India is home to 26,000 Asiatic elephants, half of the world’s population, their number has dwindled in recent years because of deforestation, poaching, and people encroaching on their land.

Asiatic elephants travel in family groups, and a calf as young as this may still be young enough to be nursed by her mother.