Emperor Xuanzong launched the"Tang Long Coup"and the"congenital Coup",successively defeated the Queen Wei Group and the forces of Princess Taiping,and finally took over the royal power from his father Ruizong and became emperor.In the process of his seizing the supreme ruling power,the palace gate guard army played an important role,among which Sogdian people were present.From the existing Shi Sili Epitaph,He De Epitaph and Shi Fubao Epitaph,we can see that these Sogdian warriors started from the Tang Long Coup and were loyal to Xuanzong for a long time.During the Kaiyuan and Tianbao period,they continued to rise,and some even became senior general.We can not only glimpse the evolution and development of the palace gate guard army,but also see the open and inclusive social landscape of the Tang Dynasty and the true picture of ethnic equality and integration.