Lingji Temple was originally named Guanyin Pavilion. According to legend, it was first built during the Tang Dynasty's period of raising horses and reclamation. It is the first ancient temple in Kinmen. It was repaired in the second year of Song's Jingyan era, later destroyed during the Yuan Dynasty, and then repeatedly expanded during the Ming Dynasty's Yongle, Wanli, and Tianqi periods. In December of the fourth year of Daoguang in the Qing Dynasty (1824), a fire broke out in the residential buildings, spreading to the temple pavilion. Suddenly, a sacred spring gushed out within the Buddha Hall, which irrigated the area, and the temple remained unharmed. Later, local people proposed to rebuild it, and thus the temple was renamed Lingji Temple, to commemorate this "Sacred Spring Saving All" event. In the 53rd year of the Republic of China, Master Weide led the fundraising and construction, adding a second floor and building the bell and drum towers, forming the current scale. Couplets: Main gate couplet: The grand hall shines with light, a piece of auspicious clouds encircling Taowu; The boat of salvation carries all beings across, reviving the Chinese land. Left window couplet: The golden spirit's supreme temple hides in the Buddhist pavilion; The gate's mist and clouds have remained for thousands of years. Right window couplet: The ancient Wugou temple's profound Dharma nature; The bell's sound of Jiang Temple quiets all worldly attachments.