This article examines the relationship between China and the "barbarians", which are associated with the time of the emergence and expansion of the Empire due to conquests. During this period, the Tang conquests were directed at the Eastern and Western Khaganate. Their territories became part of the Empire. Research has shown that this led to the formation of a group of Turkic and Oghuz leaders who were loyal to the Emperor for a long time. In the service of the Emperor there were many individuals who were descended from those conquered leaders (630-660) of the Turkic tribes, they reached a high position.