A disabled dog in Thailand dug up a newborn baby which had been buried alive by its teenage mother.

Six-year-old Ping Pong barked and dug at the ground until he exposed the child's legs.

Locals pulled the baby to safety and took it to a hospital, where it was declared healthy.

Ping Pong is a very good boy.

Visit INSIDER's homepage for more stories.

A three-legged dog in Thailand rescued a baby which had been buried alive by its teenage mother.

Six-year-old Ping Pong sniffed, barked, and dug at the ground in Ban Nong Kham village in Cham Phuang district, which lies north east of Bangkok, until he exposed the child's legs, according to The Guardian.

His 41-year-old owner, Usa Nisaika, told local media he heard barking and a baby crying in a cassava plantation, so went to check.

"The dog was digging up a dirt pile and the baby's legs emerged," he said.

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

The Guardian reports that an unamed 15-year-old girl confessed to burying her baby because she was scared about telling her father she was pregnant.

Read more: A steep, 38-meter-long steel slide in Spain was open for just a day after residents posted videos and photos showing the injuries it gave them

The girl has been charged with abandonment and attempted murder, according to the Bangkok Post.

Her family reportedly plans to look after the child.

Panuwat Puttakam, Lieutenant colonel of Cham Phuang police, said: "The girl is now in the care of a psychologist and her parents because she is in great fear. She regrets what she did and said she acted on impulse without thinking it through. She feared her parents would find out she had been pregnant."

Wichian Chantharanothai, governor of the Nakhon Ratchasima area, added: "Police officers are preparing to prosecute the mother but she is also a child and we must consider her mind and be professional. It is important that she is nurtured and treated fairly."

Nisaika, who has raised Ping Pong from birth, added: "Ping Pong was hit by a car, so he's disabled. But I kept him because he's so loyal and obedient, and always helps me out when I go into the fields to tend to my cattle.

"He's loved by the entire village. It's amazing he found the baby."