Kingdom of Dali
The Shu was based in its capital of Chengdu and controlled most of present-day Sichuan, parts of southern Gansu and Shaanxi, part of western Hubei and all of contemporary Chongqing. Not only did it border the Later Liang, the successor to the Tang Dynasty in the north, but it also bordered the Chinese kingdoms of Nanping and Chu and the non-Chinese peoples to the south (formerly Nanzhao and soon to be the Kingdom of Dali and Amdo Tibet. Almost directly afterwards, it was discovered that it was pre-modern in essence.