In 618 CE, the Tang Dynasty in China, led by Emperor Gaozu, was in the process of uniting power following the fall of the Sui Dynasty. Emperor Gaozu recognized the importance of establishing stable relations with neighboring states to ensure the security of the Silk Road and maintain regional stability.