A dog in Thailand was hailed a hero after he saved the life of a newborn baby who was buried alive by his mother. According to local reports, the 15-year-old mother wanted to hide the birth of the child by burying the baby.

The child was saved after the dog, which only had three functioning legs, scratched at some dirt alongside a farm in Korat, located in the northeastern part of the Asian country. When the dog's owner, a farmer, went to check what the dog was scratching at, he found an infant's leg poking up from the land.

The owner dug up the baby and took him to the hospital where doctors said the infant was safe. The owner, identified as Usa Nisaika, told local media that everyone in the village was amazed by the dog's actions and said "he is a hero because he saved the life of the baby."

"I have had Ping Pong since he was born and he has always been very loyal and obedient," Nisaika told the Mirror Online. "When he was younger a car hit him and his back leg was injured. He cannot use it but he still helps me when I'm herding cows."

A day after the heroic rescue, police arrested the teenage mother for attempted murder. The woman told police she was trying to hide the birth because she was afraid her parents would be angry at her as they were not aware of her pregnancy.

Local media reported that her parents have offered to take the baby boy but authorities are yet to agree to the request.

"A team of police and government welfare workers needs to consider the safety of the children," Nakhon Ratchasima Governor Wichian Chantharanothai said, the Daily Mail reported, adding that the mother's mental health would be evaluated.

"Police officers are preparing to prosecute the mother but she is also a child and we must consider her mind and be professional," Chantharanothai said. "It is important that she is nurtured and treated fairly."

dog
In this image, a dog's paw reaches through the kennel fence at the Queen Anne's County Department of Animal Service in Queenstown, Maryland, Jan. 24, 2008. Getty Images/Jim Watson