There is no textual research on the founding date of Taiping xingguo temple. At present, there is a stone tablet in the hospital, which was erected in the second year of Taiping and Xingguo (977), and it is a tablet of "Giving Peace to xingguo temple". Due to the age, wind and rain, the inscription has been blurred, and only one-third of the handwriting can be distinguished. Perhaps due to scrawl, this inscription was not included in the Jin Shi Lu of Xun County by Qing Dynasty and Xiong. According to Mr. Fu, a cultural figure in Xunxian County, the inscription recorded in detail the process that there was a temple without a name at that time, all monks reported it to the court, and the emperor of the Northern Song Dynasty named the temple. Mr. Fu, who has studied this inscription quite well, told reporters that skipping illegible handwriting can still tell us that Taiping xingguo temple has existed since the late Tang Dynasty, the Five Dynasties and the Ten Kingdoms period. Taiping xingguo temple was not called a temple in the Tang Dynasty, but called buddhist nun, later called xingguo temple. Until the third year of Taiping Xingguo (978), Song Taizong Zhao Guangyi awarded the title of "Taiping xingguo temple" with his own title, and erected this monument as a memorial. During the Five Dynasties and Ten Kingdoms period, there were frequent wars in Xun County, and Taiping xingguo temple was repeatedly abandoned. During the years of Tiancheng, Ganyou and Guang Shun, Taiping xingguo temple was restored many times.
Taiping xingguo temple is the only temple named after the emperor in China. What is the indissoluble bond between Emperor Zhao Guangyi of the Northern Song Dynasty and Taiping xingguo temple, which made him give this ancient temple such a title? There is a story circulating in the local area:
Legend has it that when Zhao Guangyi entered Youzhou, he was chased by enemy soldiers. Zhao Guangyi was badly injured and fled to the bank of the Yellow River, but he didn't cross the river by boat (the Yellow River hadn't changed its course at that time). Zhao Guangyi was seriously injured, with the raging Yellow River in front and the enemy behind him. His life is at stake. At this time, the monks in xingguo temple risked their lives to save him back to the temple, take turns to take care of him and give him medicine every day. Under the careful care of monks in Taiping Temple, Zhao Guangyi's injury soon recovered. In order to send Zhao Guangyi across the river, the monks went through many twists and turns and found their father and daughter who fished on the river for a living. The father and daughter who suffered from the war heard that Marshal Dasong was going to cross the river and agreed without hesitation. On a dark night, father and daughter rowed Marshal Zhao across the river. Because of the urgent water, they were discovered by nomads. Nomads shot arrows at the boat at will, and the old fisherman was hit by several arrows. On his deathbed, he did not forget to tell his daughter to send Marshal Zhao to the other side. Gu Yu endured the pain of his father's death and paddled, finally sending Zhao Guangyi out of the jaws. Later, Zhao Guangyi ascended the throne and became emperor. He heard that there was a temple without a name, and he did not forget to save his life, so he named the temple Taiping xingguo temple after himself. Taiping rejuvenating the country for three years (978), a monument "Taiping xingguo temple Story" was erected to commemorate this experience. Taiping xingguo temple became famous from then on.