In 1009, during the Northern Song dynasty, local scholars in Xiangxiang raised funds to build the Xiangxiang Confucian Temple on the eastern bank of the Lianshui River. In 1733, Magistrate Huang Yizhong led a campaign that collected five thousand silver taels to relocate the temple to its present site at Huangjia Ling, after the original riverbank began to collapse. The complex was laid out on a strict north-south axis, with the Lingxing Gate, the Dacheng Gate, the Dacheng Hall, and the Chongsheng Hall arranged in sequence. Its double-eaved roofs, green glazed tiles, and carved granite arches embodied the imperial Confucian style at its most dignified.
The temple weathered centuries of dynastic change. During the Taiping Rebellion in the 1850s, much of the complex was damaged by fire. In 1864, the provincial official Xu Long'a organized a restoration that rebuilt the halls and replaced the charred timbers. A century later, the building was damaged again; many of the original carvings were defaced, and the temple was used as a storage facility. By the 1980s, the buildings were crumbling, their roofs leaking and their wooden columns rotting at the base.
In 1994, the school and local community raised over one million yuan to reconstruct the temple. Workers restored the Dacheng Hall to its Ming and Qing form, re-laid the green tiles, and replanted the courtyard. Today, the Xiangxiang Confucian Temple stands within the campus of Xiangxiang No. 1 Middle School. Students pass through its Lingxing Gate each morning. A large bronze bell hangs in the Dacheng Hall; its deep toll sounds at the start of each school year, echoing over the stone lions and the ancient ginkgo tree.