According to Historical Walks in Tainan I, when local official Jiang Yuanshu was rebuilding the Confucian temple during the 1700s, he noticed that the Tacheng Hall nearby had a large building to its northeast (namely Wenchang Pavilion), so he decided that "in order to strengthen the temple," he would build a large gate to the southeast.
依據前面所提之書──《台南歷史散步（上）》的記載，清乾隆年間，知府蔣元樞重修台南孔廟時，因見大成殿的東北方建有高樓（即文昌閣），於是決定在其東南方建一座石坊，「以壯其制」。