Confucius Temple is located in Gongyuan Street on the North Bank of Qinhuai River in Zhonghua Gate, Nanjing City, Jiangsu Province.
It is a place to worship and sacrifice Confucius. In the first year of Jingyou in the Northern Song Dynasty (1034 A.D.), xuanwang temple was built here.
In the early period of the Southern Song Dynasty, it was destroyed by the fire and war. During the period of Shaoxing, it was rebuilt to build the Kangfu school and the imperial examination hall Gongyuan.
There is Mingde hall in the school. The hall was originally written by Wen Tianxiang, a hero of Wu nationality in the late Southern Song Dynasty. Zeng Guofan in the Qing Dynasty was changed to seal script.