Need more proof that dogs are a man’s best friend?! A three-legged dog in Thailand rescued a baby which had been buried alive by its teenage mother. Another instance where animals behaved better than humans!

The dog, a 6 year-old, sniffed, barked, and dug at the ground in Ban Nong Kham village in Cham Phuang district, north east of Bangkok, until he exposed the child’s legs, according to The Guardian.

His 41-year-old owner, told local media he heard barking and a baby crying, so went to check. “The dog was digging up a dirt pile and the baby’s legs emerged,” he said.

The baby was pulled to safety and taken to hospital by locals where it was declared healthy, according to The Independent.

The Guardian reports that an un-named 15-year-old girl confessed to burying her baby because she was scared to her father she was pregnant. The girl has been charged with abandonment and attempted murder, according to the Bangkok Post. Her family reportedly plans to look after the child.