Huangdi, the Yellow Emperor (2497 – 2398 BCE), is a legendary Chinese sovereign and cultural hero who is considered in Chinese mythology to be the ancestor of all Han Chinese. He emerged as a chief deity of Daoism during the Han Dynasty (202 BCE-220 CE). Among his many accomplishments, Huangdi has been credited with the invention of the principles of Traditional Chinese medicine.
The Huangdi Neijing (Inner Canon of Huangdi) was supposedly composed in collaboration with his physician Qibo. Legend says that Huangdi became the leader of his tribe which bore the totem of a bear. His tribe went to war with a neighboring tribe bearing the totem of a bull, headed by Yandi. Huangdi, through his superior military and leadership skills won the war and subdued Yandi’s tribe. The two tribes united and became one. The legend then says that the Chinese civilization began with these two tribes.