Following is the family tree of Vietnamese monarchs from the autonomous period of the Khúc clan (905–923) to the reign of Bảo Đại (1926–1945), the last emperor of the Nguyễn dynasty. Emperors, kings and lords of each monarch are denoted by different colours with the period of their reigns.