The tutelary deity worship system of An Phu, as well as of neighboring villages, worships people who had merit in reclaiming land and establishing hamlets, and in defeating foreign invaders to protect the homeland and country.
According to ancient documents currently kept at the relic and local folk legends, An Phu Communal House worships the village tutelary deities Chieu Cong and Moc Cong.
The legends of the deities are as follows:
At that time, in the land of Quang Tay (one of the 15 divisions in the time of Lac Long Quan), there was a mountain deity who was a phu dao, that is, a district chief official, of the same lineage as the Hung kings of one hundred eggs, whose name was Hung Trac, who married Mrs. Nguyen Thi Thuc from Van Ninh ward. He was an upright man, generous and harmonious in virtue, valued righteousness and despised wealth, and was wholly public-minded and incorruptible. At that time, the world often suffered natural disasters, rainstorms, and rivers and seas overflowed and flooded; people in many places suffered heavy damage, and robbers often disturbed good people. Seeing this, the king sent Mr. Trac Cong, the phu dao, on an inspection tour of places in Son Tay and Son Nam, leading troops to Doan Xa Village, An Phu Commune, Hoai An District, Ung Thien Prefecture, and rested here for one night. Just as Trac Cong was dozing off, he suddenly saw an old man with phoenix eyes and dragon eyebrows, wearing golden armor and a brocade belt, holding two white tigers, who said to him: “Now the governing lord has great virtue, so Heaven's heart shines through and has sent me down to your house to repay that merit.”, saying this, he immediately disappeared. The governing lord woke with a start and knew it was a prophetic dream. Afterwards, Trac Cong continued to go and suppress the robbers until peace was restored, reported to the royal court, and then returned to Quang Tay.
At about that time, the governing lord Trac Cong was 40 years old, and his wife Nguyen Thi Thuc was 39. One day, while she was resting in Dong Cung Palace and had just fallen into a deep sleep, she saw two white tigers pounce on her belly and roar three times. She woke with a start and realized she had been dreaming. From then on she conceived and after 14 months gave birth to a sac containing two boys. At that time, at the hour of Ox on the tenth day of the first lunar month of the Nham Ty year, their appearance was majestic and fierce, their faces were extraordinary, on their heads was the shape of the five mountains, the four corners were high, and on their backs were seven hairs more than three inches long. It was truly a strange physical form. After one hundred days, the governing lord held a banquet and named them: the elder was Chieu Cong, the younger was Moc Cong. When they were 5-6 years old, the governing lord sent them to study with a teacher of the Ly family. The two were talented and intelligent; after only a few years of study they had thoroughly mastered the Five Classics and all books.
When the two were 18 years old, on the 15th day of the second month, Trac Cong passed away. The two submitted a memorial to the king, and the king sent officials to conduct the funeral right at his place of work (Quang Tay). Then the king appointed the two to the position of Son Nam chief lord. As generals, the two were skilled in strategy and renowned in all directions.
When the two were 25 years old, their mother, Nguyen Thi Thuc, passed away. At that time, the country faced invasion; the divine general Thach Linh led millions of elite troops from the north to invade our country, and reports arrived five times a day.
The king then sent armies to block them, and appointed Mr. Chieu Cong as Left General and Moc Cong as Right General, leading 5,000 troops to patrol everywhere, intercept and attack the An invaders, and advance straight to Kinh Bac. When they reached Thuan An Prefecture, Gia Lam District, they saw the An invaders, and the two attacked in a pincer movement. The enemy was strong, so the two withdrew to Hoa Dinh Commune, Hoai An, and stationed troops there for one night. Afterwards they went to Dai Duong Canton, An Phu Commune, Doan Xa Village (present-day An Phu), where the two ordered soldiers to set up a post for one month. Seeing more and more enemy troops arriving, and their naval force having reached the Hat River, the two went out to fight and defeated the enemy. After that, enemy reinforcements arrived and surrounded them on four sides; seeing that it was difficult to win, the two urged their troops to break the encirclement and return to the An Phu post. The people greatly admired the two because when they went to fight, they called on village elders to take charge of the post, help the poor, elderly, and weak, and provide for poor people and relatives; therefore everyone followed them to fight the enemy.
For more than a year, the two men's army constantly faced the enemy and preserved its main force and soldiers. At that time Thach Linh's army was strong, while the king was weak. The king sent envoys to summon the two to court to discuss plans to fight the enemy, and the king appointed Mr. Chieu Cong as Commander of the vanguard army, and Moc Cong as Deputy Grand Commander of the naval central army, leading 50 warships by water to intercept and attack the An invaders.
When they reached Nam Hai Duong Chau and met the An invaders, the two attacked in a pincer movement; after ten bouts the outcome was undecided. Then the two were surrounded on four sides, and the enemy used crossbows to hit them. Wounded, the two jumped on horses, broke through the encirclement, fled back to Ung Thien Prefecture, Hoai An District, Dai Duong Canton, An Phu Commune, Doan Xa Village, went straight into the old palace, and passed away there on the 15th day of the eighth lunar month. When the people held the funeral, they immediately established the main tomb to worship the two, and the king bestowed titles:
First deity: Minh Thong Chieu Phap Quoc Vuong Dai Vuong.
Second deity: Doan Truc Trung Chinh Moc Than Dai Vuong.
Permitted for Doan Xa Village, An Phu Commune, Dai Duong Canton, Hoai An District, to officially worship them.
An Phu Communal House was built for the purpose of worshipping the village tutelary deity, so it belongs to the type of religious architecture known as a communal house.
