The historic name of Long Mu was Wen Shi . She was born in 290 BC in Guangdong province, near the Xi River . Her family's ancestral home was in the Teng District in Guangxi province. She was the second of three daughters of Wen Tianrui and Liang Shi .
Wen Shi frequently went to the Xi River to fish and wash clothes for her family. One day, she found a large smooth white stone along the banks of the river. She took the beautiful stone home, but later discovered that the stone was actually an egg, from which hatched five baby snakes . Wen Shi's family was poor, but Wen Shi saved the best food she had for her baby snakes and fed them by hand. As the snakes grew, they helped Wen Shi catch fish at the Xi River. The snakes were natural swimmers and became very good at catching fish.
As the snakes grew even more, it became apparent that they weren't snakes at all. The snakes eventually matured into five powerful dragons. In Chinese culture, are considered spirits of water, and have the power to control the weather. During a drought, Wen Shi asked her dragon children to summon the rain for her village. When rain came and ended the drought, the grateful villagers gave Wen Shi the name "Mother of Dragons" or "Divine Human" .
Qin Shihuang, the Emperor of the Qin Dynasty, received word of Wen Shi and her dragons. The Emperor sent her gifts of gold and jade and requested her presence at Xianyang, the imperial capital city near the Yellow River, far to the north. By this time, Wen Shi was an elderly women in frail health. Her adult dragons feared for her safety and did not want her to travel so far from her village. Wen Shi boarded a boat to comply with the Emperor's commandment, but her dragons hid under the boat and dragged the boat backward so that the boat could never pass Guilin. Eventually, the frustrated imperial officials relented and allowed Wen Shi to remain home.
After Wen Shi died, the dragons were overwhelmed with sadness and took human form, known as the Five Scholars . They buried her on the northern side of Zhu Mountain .
Everyone who heard the story of Long Mu was touched by the filial devotion of the dragons. During the early Han Dynasty, the Xiaotong Temple , later known as the Longmu Ancestral Temple , was built in her honor. The temple is in Yuecheng in of Guangdong province. It features calligraphy dedicated to the goddess written by the of the Ming Dynasty. The temple remains very popular and has been renovated 13 times over the centuries, most recently in 1905-1912 and 1985.
Another temple dedicated to Long Mu is the Baisha Temple in Zhaoqing, south of the Xi River in the Ruizhou District, also in Guangdong province. The temple was built in 1587, but it is not as well preserved as the Xiaotong Temple. The city declared the temple a cultural site in 1982.
Long Mu's festival is in the first week of the fifth month of the . She is a patron goddess of parents and children, and remains a popular deity throughout China.