., ▁the ▁region ▁of ▁the ▁Tang ▁D ynast y ▁capital ▁Ch ang ' an ). ▁ ▁H Is ▁sixth - gener ation ▁ancest or ▁Wei ▁F an ▁( <0xE9> <0x9F> <0x8B> <0xE7> <0xAF> <0x84> ) ▁had ▁accomplish ments ▁during ▁Tang ' s ▁two ▁prede cess or ▁dynast ies , ▁Northern ▁Z hou ▁and ▁S ui ▁D ynast y . ▁ ▁Early ▁in ▁the ▁D ali ▁era ▁( 7 6 6 - 7 7 9 ) ▁of ▁Emperor ▁X u anz ong ' s ▁grand son ▁Emperor ▁Da iz ong , ▁Wei ▁served ▁as ▁one ▁of ▁the ▁cer emon ial ▁p all b ear ers ▁for ▁the ▁bur ial ▁of ▁Emperor ▁X u anz ong ' s ▁son ▁and ▁Emperor ▁Da iz ong ' s ▁father ▁Emperor ▁Su z ong , ▁and ▁there after ▁was ▁made ▁an ▁officer ▁at ▁H ua ▁Pref ect ure ▁( 華 州 , ▁in ▁modern ▁Wein an , ▁Sh a an xi ). ▁ ▁In ▁ 7 8 2 , ▁during ▁the ▁reign ▁of ▁Emperor ▁Da iz ong ' s ▁son ▁Emperor ▁Dez ong , ▁when ▁the ▁ch an cell or ▁Z hang ▁Y i ▁was ▁made ▁the ▁military ▁governor ▁( J ied ush i ) ▁of ▁F eng xi ang ▁Circ uit ▁( <0xE9> <0xB3> <0xB3> <0xE7> <0xBF> <0x94> , ▁head qu arter ed ▁in ▁modern ▁Ba o ji , ▁Sh a an xi ), ▁he ▁invited ▁Wei ▁to ▁serve ▁on ▁his ▁staff ▁as ▁an ▁assistant ▁over see ing ▁military ▁far ming , ▁and ▁also ▁put ▁Wei ▁in