王世充
Like most dynastic changes, the end of the Sui Dynasty was a time of upheaval and contention for the throne. The oldest evidence of Shaolin participation in combat is a stele from 728 that attests to two occasions: a defense of the monastery from bandits around 610 and their role in the defeat of Wang Shichong at the Battle of Hulao in 621. Wang Shichong declared himself Emperor. He controlled the territory of Zheng and the ancient capital of Luoyang. Overlooking Luoyang on Mount Huanyuan was the Cypress Valley Estate, which had served as the site of a fort during the Jin and a commandery during the Southern Qi. Sui Emperor Wen had bestowed the estate on a nearby monastery called Shaolin for its monks to farm but Wang Shichong, realizing its strategic value, seized the estate and there placed troops and a signal tower, as well as establishing a prefecture called Yuanzhou. Furthermore, he had assembled an army at Luoyang to march on the Shaolin Temple itself.