Yongmunsa Temple was established in 913 by the monk Daegyeong, who was originally from the Nampo region in southern Korea.
One day, King Taejo, founder of the Goryeo Dynasty, visited Daegyeong and listened to his lectures on the dharma.
A stupa and stele can be found on the slope of a mountain east of Yongmunsa, erected in memory of Jeongji, a National Preceptor, a high-ranking position among Buddhist clergy.
King Taejo bestowed on him the posthumous title of Guksa ("National Preceptor"), and had Gwon Geun, an esteemed writer of the time, write an epitaph to be inscribed on his stele.
In 1447, Prince Suyang reconstructed the main Buddha hall for his mother, Queen Consort Soheon, under the royal decree of King Sejong.