The 夏代 (Xià Dynasty) began 2070 years before Christ, and lasted for 470 years. These are conventional dates, because real knowledge is hard to come by: Writing almost certainly existed this far back, but not on durable paper.
Only legends remain, the most important being that of the dynasty’s founder 大禹, Dàyŭ, or Yu the Great, who was the first to control the river floods, which has since been considered the key to The Heavenly Mandate - the divine right to rule China. He took thirteen years to do it, mobilizing all the tribes, and never resting even once.
Dàyŭ was given the reins by the last of a series of mythical lords known as the Three Sovereigns and Five Emperors (三皇五帝). According to legend, these demi-gods were the ones that taught the Chinese to use fire, farming, medicine, calendars, silk, and so on.
Dayu and his people inventing flood control. Baidu Baike