According to the Continued Biographies of Eminent Monks (645 AD) by Daoxuan, Shaolin Monastery was built on the north side of Shaoshi, the central peak of Mount Song, one of the Sacred Mountains of China, by Emperor Xiaowen of the Northern Wei dynasty in 477 AD, to accommodate the Indian master beside the capital Luoyang city. Yang Xuanzhi, in the Record of the Buddhist Monasteries of Luoyang (547 AD), and Li Xian, in the Ming Yitongzhi (1461), concur with Daoxuan's location and attribution. The Jiaqing Chongxiu Yitongzhi (1843) specifies that this monastery, located in the province of Henan, was built in the 20th year of the Taihe era of the Northern Wei dynasty, that is, the monastery was built in 495 AD.