At the end of the Sui Dynasty, due to the decline of the Sui Dynasty, the Tenth Eighth Route Army rose up against the king's separatist regime in the Central Plains, and Xiliang fought back and declared independence from the rule of the Sui Dynasty.
Gui Li, the ancestor of Xiliang, was honored as the ancestor by the royal family of Tang Dynasty and poets Li Bai and Li Shangyin. Because its ancient ruling area was Liangzhou, the country name was Liang, and it was located in the west of Liangzhou, so it was named Xiliang [1]. At its peak, there were Jiuquan and Dunhuang areas in western Gansu and Congling in Xinjiang in the west. Three masters, a total of 22 years.