ral ▁people ▁of ▁the ▁Han ▁Chinese . ▁ ▁Orig ins ▁and ▁early ▁development ▁Trad itional ▁histor ies ▁trace ▁the ▁development ▁of ▁the ▁X ia ▁to ▁the ▁legend ary ▁Three ▁S over eign s ▁and ▁Five ▁Em per ors . ▁According ▁to ▁ancient ▁Chinese ▁texts , ▁before ▁the ▁X ia ▁dynast y ▁was ▁established , ▁batt les ▁were ▁frequent ▁between ▁the ▁X ia ▁tribe ▁and ▁Chi ▁You ' s ▁tribe . ▁The ▁X ia ▁tribe ▁slowly ▁developed ▁around ▁the ▁time ▁of ▁Z hu an x u , ▁one ▁of ▁the ▁Five ▁Em per ors . ▁The ▁Records ▁of ▁the ▁Grand ▁Histor ian ▁and ▁the ▁Classic ▁of ▁R ites ▁say ▁that ▁Yu ▁the ▁Great ▁is ▁the ▁grand son ▁of ▁Z hu an x u , ▁but ▁there ▁are ▁also ▁other ▁records , ▁like ▁Ban ▁Gu , ▁that ▁say ▁Yu ▁is ▁the ▁fifth ▁generation ▁of ▁Z hu an x u . ▁Based ▁on ▁this , ▁tradition ▁as cri bes ▁the ▁ancest ry ▁of ▁the ▁X ia ▁cl an ▁to ▁Z hu an x u . ▁ ▁Gun ' s ▁attempt ▁to ▁stop ▁the ▁flo od ▁ ▁Gun , ▁the ▁father ▁of ▁Yu ▁the ▁Great , ▁is ▁the ▁earliest ▁recorded ▁member ▁of ▁the ▁X ia ▁cl an . ▁When ▁the ▁Y ellow ▁River ▁flo oded , ▁many ▁tribes ▁un ited ▁together ▁to ▁control ▁and ▁stop ▁the ▁flo oding . ▁Gun ▁was ▁appointed ▁by ▁Emperor ▁Y ao ▁to ▁stop ▁the ▁flo oding . ▁He ▁ordered ▁the ▁construction ▁of ▁large ▁block ades ▁( le ve es ) ▁to ▁block