The animal had most likely fallen into the pit after rainfall caused the ground near it to become slippery, according to authorities in Yunnan province.
After repeatedly trying to climb out of the pit, the elephant appeared distressed.
It had “probably” been stuck there at least 24 hours before rescuers came to help, local police say.
"Looking at the traces at the scene, it probably fell into it yesterday. Because it rained yesterday, the ground around the pit was slippery," said local police officer Tang Zhouxing.
Rescuers began digging away the side of the pit to create a ramp.
News that makes sense
Your trusted source for staying up-to-date with the world around you. Get free daily news updates and analysis, straight to your inbox.
It took several attempts, but eventually the calf was able to climb to freedom, where it promptly ran into nearby forest.

