Chinese emperors family tree (early)
Emperor Xian, the last emperor of the Han dynasty, was a descendant of the first emperor Liu Bang. Lasting for over 400 years (the first to last for more than a century), the Han Dynasty is regarded as one of the golden ages of Chinese history. The Han Dynasty was interrupted by the reign of the usurper Wang Mang, who declared the Xin dynasty (9–23 AD); on this basis, the Han Dynasty is generally divided into the Western Han (206 BC – 9 AD and 23–25 AD) and the Eastern Han (25–220 AD). The rulers of the Shu Han, one of the three successor states to the Han Dynasty during the Three Kingdoms period, were descended from the Han imperial family, and considered themselves a continuation of the Han Dynasty; they are included below.
Han (Korean surname)
There is a controversy on where Gija is from, which is believed to be from the Chinese Shang Dynasty, Gija as a paternal uncle (or brother) of the last emperor of the Chinese Shang Dynasty, King Zhou, however it is likely that Gija is a Dongyi, a native people in the East of China. Gija's and his descendants were also believed to have the surname Han (韓) as King Jun of Gojoseon the last King of Gojoseon and descendant of Gija claimed himself as the King of Han (한왕; 韓王) with the foundation of Mahan part of the Samhan after fleeing from Wiman. With this it shows that the surname Han may have existed since the time of Gija Joseon or Gojoseon and establishes the Han (韓) clan as the oldest surname in Korea dating back to around 5000 years ago, and to have founded and ruled Gojoseon and Mahan.