How did the emperors in ancient times come to be called Zong or Ancestor?

"Ancestor" and "Zong" are both the emperor's temple names.

The temple name is the name given to the ancient Chinese emperor when he was enshrined in the Ancestral Temple after his death.

Temple names often use the word "ancestor" or "ancestor". The founding emperor is generally called "Taizu" or "Gaozu", such as Han Taizu, Tang Gaozu, Song Taizu; subsequent emperors are generally called "Zong", such as Tang Taizong, Song Taizong, etc. But there are exceptions. The proliferation of "ancestors" began in Cao Wei. By the Sixteen Kingdoms period, almost all the emperors and temple names of small kingdoms such as Later Zhao, Former Yan, Later Qin, and Western Qin were called ancestors.

Customally, deceased emperors before the Tang Dynasty were generally given posthumous titles, such as Emperor Wu of the Han Dynasty and Emperor Yang of the Sui Dynasty, rather than temple names. After the Tang Dynasty, because the characters of the posthumous title were lengthened, they were renamed temple names, such as Taizong of the Tang Dynasty, Taizu of the Song Dynasty, etc.

Generally speaking, the selection of temple names does not refer to the posthumous method, but it also has the meaning of praise and blame. Taizu and Gaozu founded the country, Shizu and Taizong carried it forward, Shizong, Gaozong, etc. all maintained the reputation of Cheng Lingzong. Renzong, Xuanzong, Shengzong, Xiaozong, Chengzong, Ruizong, etc. were all wise kings and wise masters. Zhongzong, Xianzong, etc. Zongdu is the master of ZTE. In addition, Zhezong, Xingzong, etc. were all good emperors who made a difference. Shenzong and Yingzong lacked merit, Dezong and Ningzong were too cowardly, Xuanzong, Zhenzong, Lizong, Daozong, etc. were mystical, Wenzong and Wuzong were both praised and criticized, Mu Zong and Jingzong had equal merits and demerits, Guangzong and Xizong were mediocre and decadent, Aizong and Sizong could only perish his country.