Family tree of Confucius in the main line of descent

This is a family tree of the main line of descent of Confucius ().
List of prominent descendants of Confucius not in the main line.
The title of Duke of Song and "Duke Who Continues and Honours the Yin" (殷紹嘉公) were bestowed upon Kong An (孔安 (東漢) by the Eastern Han dynasty because he was part of the Shang dynasty's legacy. This branch of the Confucius family is a separate branch from the line that held the title of Marquis of Fengsheng village and later Duke Yansheng.
Generation name.
Along with the descendants of the other Four Sages (Confucius, Mencius, Zengzi, and Yan Hui), the descendants of Confucius still determine part of their children's given names using this generation poem given to them by the Ming dynasty Jianwen Emperor and extended by later emperors:
<poem>
</poem>