With his son and throne safe again, the Emperor was pleased and gifted Shaolin with greater lands, regular funds and the Royal Grant of allowing Shaolin to have up to 500 Warrior Monks (Soldier Monks, Seng Bing). This again, put Shaolin on the Chinese Political and Buddhist map. This improved even further when a few years later the old Emperor died and his (by the Shaolin saved) son became the new Tang Emperor. A very close relationship between Shaolin and the court was established, which would last until the Buddhist persecutions towards the end of the Tang Dynasty.