Xianbei state
During the early decades of the 7th century, the major threat to the west of China was the Xianbei state of Tuyuhun. Thereafter, Tuyuhun's southwestern neighbor, the Tibetan Empire, rose in power.