▁of ▁Hen an ▁County ▁( 河 南 ), ▁one ▁of ▁the ▁two ▁count ies ▁making ▁up ▁the ▁Tang ▁eastern ▁capital ▁Lu oy ang . ▁ ▁Lu ▁Shang ▁lost ▁his ▁father ▁early ▁in ▁life ▁and ▁was ▁said ▁to ▁be ▁poor , ▁but ▁stud ious . ▁ ▁He ▁passed ▁the ▁imperial ▁exam in ations ▁in ▁the ▁Jin sh i ▁class ▁in ▁ 8 0 9 , ▁during ▁the ▁reign ▁of ▁Emperor ▁Dez ong ' s ▁grand son ▁Emperor ▁X ian z ong , ▁and ▁further ▁passed ▁a ▁special ▁exam ination ▁for ▁those ▁who ▁made ▁good ▁r ul ings . ▁ ▁He ▁was ▁initially ▁made ▁X ia os hu ▁Lang ▁( 校 書 郎 ), ▁a ▁copy editor ▁at ▁the ▁arch ival ▁min istry . ▁ ▁When ▁the ▁official ▁F ang ▁Ch u ans hi ▁( <0xE8> <0x8C> <0x83> <0xE5> <0x82> <0xB3> 式 ) ▁served ▁as ▁the ▁governor ▁of ▁X u ans he ▁Circ uit ▁( <0xE5> <0xAE> <0xA3> <0xE6> <0xAD> <0x99> , ▁head qu arter ed ▁in ▁modern ▁X uan ch eng , ▁An hui ), ▁Lu ▁served ▁as ▁his ▁assistant . ▁ ▁Lu ▁later ▁served ▁as ▁a ▁secretary ▁under ▁success ive ▁military ▁govern ors ▁( J ied ush i ) ▁of ▁X ich uan ▁Circ uit ▁( 西 川 , ▁head qu arter ed ▁in ▁modern ▁Ch eng du , ▁S ich uan ), ▁the ▁former ▁ch an cell ors ▁Wang ▁Bo ▁and ▁Du an ▁W en ch ang . ▁ ▁Lu ▁was ▁later ▁re called ▁to ▁the ▁capital ▁Ch ang ' an ▁to