Answer
Emperor Xuanzong ascended to the throne in 712 CE, following the abdication of his father, Emperor Ruizong. He inherited a realm marked by political instability and external threats from neighboring states. Determined to restore imperial prestige, Xuanzong launched ambitious military campaigns to secure the empire's borders and established a centralized and effective bureaucracy.