▁finally , ▁north ▁into ▁S ich uan . ▁In ▁ 8 2 9 , ▁Ch eng du ▁was ▁taken ; ▁it ▁was ▁a ▁great ▁prize , ▁as ▁it ▁enabled ▁N anz ha o ▁to ▁lay ▁claim ▁to ▁the ▁whole ▁of ▁S ich uan ▁province , ▁with ▁its ▁rich ▁p addy ▁fields . ▁ ▁The ▁Tang ▁dynast y ▁ret ali ated ▁and ▁by ▁ 8 7 3 , ▁N anz ha o ▁had ▁been ▁exp elled ▁from ▁S ich uan , ▁and ▁retre ated ▁back ▁to ▁Y unn an . ▁T aking ▁Ch eng du ▁marked ▁the ▁high ▁point ▁of ▁the ▁N anz ha o ▁kingdom , ▁and ▁it ▁was ▁a ▁waters hed : ▁from ▁then ▁on , ▁the ▁N anz ha o ▁Kingdom ▁slowly ▁decl ined . ▁n ▁ 9 0 2 , ▁the ▁N anz ha o ▁dynast y ▁was ▁over th rown , ▁and ▁it ▁was ▁followed ▁by ▁three ▁other ▁dynast ies ▁in ▁quick ▁succession , ▁until ▁Du an ▁S ip ing ▁seized ▁power ▁in ▁ 9 3 7 ▁to ▁establish ▁the ▁Kingdom ▁of ▁D ali . ▁ ▁D ali ▁Kingdom ▁▁ ▁D ali ▁was ▁a ▁Buddh ist ▁B ai ▁kingdom . ▁Est ab lished ▁by ▁Du an ▁S ip ing ▁in ▁ 9 3 7 , ▁it ▁was ▁ruled ▁by ▁a ▁succession ▁of ▁ 2 2 ▁k ings ▁until ▁the ▁year ▁ 1 2 5 3 , ▁when ▁it ▁was ▁destroyed ▁by ▁an ▁invasion ▁of ▁the ▁Mong ol ▁Empire . ▁The ▁capital ▁city ▁was ▁at ▁D ali . ▁In ▁