Balkh helped the Tang dynasty general Guo Ziyi militarily crush the An Lushan rebellion, with Yisi personally acting as a military commander and Yisi and the Nestorian Church of the East were rewarded by the Tang dynasty with titles and positions as described in the Nestorian Stele. Epitaphs were found dating from the Tang dynasty of a Christian couple in Luoyang of a Nestorian Christian Sogdian woman, Lady An (安氏) who died in 821 and her Nestorian Christian Han Chinese husband, Hua Xian (花献) who died in 827. These Han Chinese Christian men may have married Sogdian Christian women because of a lack of Han Chinese women belonging to the Christian religion, limiting their choice of spouses among the same ethnicity. Another epitaph in Luoyang of a Nestorian Christian Sogdian woman also surnamed An was discovered and she was put in her tomb by her military officer son on 22 January, 815. This Sogdian woman's husband was surnamed He (和) and he was a Han Chinese man and the family was indicated to be multiethnic on the epitaph pillar. In Luoyang, the mixed raced sons of Nestorian Christian Sogdian women and Han Chinese men had many career paths available for them. Neither their mixed ethnicity nor their faith were barriers and they were able to become civil officials, a military officers and openly celebrated their Christian religion and support Christian monasteries. Vajrayana Buddhist master Amoghavajra assisted the Tang dynasty state against the An Lushan rebellion. He carried out Vajrayana rituals which were ostensible effective in supernaturally attacking and destroying An Lushan's army including the death of one of An Lushan's generals, Zhou Zhiguang. Amoghavajra used his rituals against An Lushan while staying in Chang'an when it was occupied in 756 while the Tang dynasty crown prince and Xuanzong emperor had retreated to Sichuan. Amoghavajra's rituals were explicitly intended to introduce death, disaster and disease against An Lushan. As a result of Amoghavajrya's assistance in crushing An Lushan, Estoteric Buddhism became the official state Buddhist sect supported by the Tang dynasty, "Imperial Buddhism" with state funding and backing for writing scriptures, and constructing monasteries and temples. The disciples of Amoghavajra did ceremonies for the state and emperor. Tang dynasty Emperor Suzong was crowned as cakravartin by Amoghavajra after victory against An Lushan in 759 and he had invoked the Acala vidyaraja against An Lushan. The Tang dynasty crown prince Li Heng