▁led ▁by ▁King ▁Z ha ox i ang ' s ▁uncle , ▁Wei ▁Ran , ▁and ▁occupied ▁the ▁city ▁of ▁Rang ▁( <0xE7> <0xA9> <0xB0> 城 ). ▁ ▁The ▁city ▁was ▁later ▁given ▁to ▁Wei ▁Ran , ▁who ▁was ▁made ▁ch an cell or ▁six ▁years ▁later , ▁as ▁his ▁f ief . ▁ ▁However , ▁in ▁ 2 9 8 ▁BC , ▁Q in ▁suffered ▁a ▁set back ▁at ▁H angu ▁Pass ▁under ▁the ▁combined ▁attack ▁from ▁a ▁three - state ▁al liance ▁of ▁Q i , ▁Han ▁and ▁Wei , ▁and ▁was ▁forced ▁to ▁conced e ▁the ▁recently ▁occupied ▁F eng ling ▁and ▁W us ui ▁back ▁to ▁Wei ▁and ▁Han . ▁ ▁In ▁ 2 9 3 ▁BC , ▁the ▁states ▁of ▁Han , ▁Wei ▁and ▁East ▁Z hou ▁al lied ▁together ▁to ▁attack ▁Q in . ▁ ▁King ▁Z ha ox i ang ▁appointed ▁the ▁young ▁B ai ▁Q i ▁as ▁general , ▁and ▁defeated ▁the ▁two ▁major ▁states ▁at ▁Y ique , ▁killing ▁ 2 4 0 , 0 0 0 ▁of ▁the ▁enemy ▁and ▁capt uring ▁( then ▁executing ) ▁the ▁enemy ' s ▁supre me ▁commander ▁G ong sun ▁X i ▁( 公 <0xE5> <0xAD> <0xAB> 喜 ). ▁ ▁This ▁was ▁the ▁most ▁dev ast ating ▁blow ▁Q in ▁delivered ▁to ▁the ▁two ▁eastern ▁states ▁to ▁date . ▁ ▁In ▁ 2 9 2 ▁BC ， B ai ▁Q i ▁again ▁led ▁the ▁army ▁and ▁attacked ▁Wei , ▁capt uring ▁We ich eng ▁( <0xE9> <0xAD>