Huang-di, (黃帝/黄帝 huángdì) or the Yellow Emperor, is a legendaryChinesesovereign and culturalhero who is thought to be the ancestor of all Han Chinese. One of the legendary Five Emperors, it was written in the Shiji by historianSima Qian (145 BC-90 BC) that Huangdi reigned from 2497 BC to 2398 BC. His personal name was said to be Gongsun Xuanyuan (公孙轩辕). He became the chief deity of Taoism during the Han Dynasty (202 BC-220 AD).