What was the state of the country during the Xuanzong period of the Tang Dynasty?

Tubo: During the Zhenguan period, Emperor Taizong married Princess Wencheng to Songzan Gambu. In 200, Xinzamp acceded to the throne and asked Tang Gaozong to "register his life". At the beginning of the 8th century, Princess Jincheng married Tubo Sambo. In the 9th century, Tubo formed an alliance with the Tang Dynasty, which was called "Changqing Alliance" in history. Uighur: At the beginning of the 7th century, Taizong was appointed as the leader of Uighur and the governor of Hanhai. In the mid-8th century, the Uighur leader Guli Pelo unified the ministries and was canonized as Huairen Khan by Emperor Xuanzong of the Tang Dynasty. During the Anshi Rebellion, Uighur sent troops to help Tang Ping rebel. Since Tang Suzong, I have married the Uighur Khan several times.

Mohong: At the beginning of the 8th century, the Tang Dynasty set up a viceroy in the Mohong area of Heishui, and the Mohong area of Heishui was formally incorporated into the territory of the Tang Dynasty. At the end of the 7th century, Hou Ji's leader da Zuo Rong established political power. At the beginning of Kaiyuan, Xuanzong made him the king of Bohai County, ruled Hanzhou, and made him the prefect. The Bohai Sea was also formally incorporated into the territory of the Tang Dynasty. Nanzhao: At the beginning of the 8th century, with the support of Xuanzong, Piluoge, the leader of Nanzhao, unified the imperial edicts of the six countries. Xuanzong made him king of Yunnan. As the peak of feudal society in China, the Tang Dynasty left a glorious page in the history of China. Up to now, China people call the Han people "Han people", while overseas people call themselves "Tang people", which shows that the Tang Empire has a far-reaching influence on people of all ethnic groups. In the heyday of the Tang Empire, if all the vassal States and the countries of Jimi are counted, then today's Indo-China Peninsula countries, from the east to the sea, from the west to the Wuhu River basin in Central Asia, from the Mongolian Plateau to the Siberian Plain in the north, and from the south to the Qinling Mountains, will have a far-reaching impact. This vast country includes Uighur, Bohai and Nanzhao, vassal countries of the Tang Dynasty, Tubo and Silla, and even Persia, Zhaowu, Jiuguo and Kanto voluntarily accepted land and became the prefectures of the Tang Dynasty. In the middle and early Tang Dynasty, the northern nationalities called Tang "Tiankhan", which not only showed their reverence for Tang, but also had a deeper significance. Tang was regarded as the * * * master of the northern nationalities, and the political power established by these nationalities was the local political power of the Tang Empire. Moreover, the Tang Empire also conferred titles on the rulers as imperial officials, and incorporated these countries into its own territory, becoming a country that did not change its traditional habits, with a total of more than 800. The establishment of such a huge empire is naturally inseparable from the concerted efforts of Qi Xin of all ethnic groups in the Qin and Han Dynasties, which can be partially revealed from the ethnic composition of the ruling class in the early Tang Dynasty.