Emperor Xiaowen of Northern Wei
According to the "Deng Feng County Recording", Bátuó came to China in 464 and preached Nikaya Buddhism for thirty years. Thirty-one years later, in 495, the Shaolin Monastery was built by the order of Emperor Xiaowen of Northern Wei for Batuo's preaching.