Emperor Gaozong of Tang
It is not known when Zhang Xi was born, but it is known that he came from a line that had served for generations as officials of Northern Wei, Northern Qi, Sui dynasty, and Tang dynasty. Zhang Xi's father Zhang Wencong (張文琮) served as a deputy minister during the reign of Emperor Gaozong of Tang, and his uncle Zhang Wenguan served as a chancellor.