▁King ▁Am ang kur at ▁I , ▁the ▁crown ▁prince ▁over ▁the ▁execution ▁of ▁P anger an ▁P ek ik , ▁the ▁prince ' s ▁mat ernal ▁grand father , ▁and ▁Tr un aj aya ▁over ▁his ▁ex ile ▁and ▁the ▁execution ▁of ▁his ▁father . ▁The ▁two ▁for ged ▁a ▁friendship , ▁partly ▁due ▁to ▁this ▁mut ual ▁dis like . ▁In ▁ 1 6 7 0 ▁or ▁ 1 6 7 1 , ▁Tr un aj aya ▁left ▁Mat aram ▁for ▁his ▁hom eland ▁Mad ura ▁and ▁became ▁its ▁r uler . ▁He ▁used ▁the ▁crown ▁prince ' s ▁patron age ▁( as ▁well ▁as ▁his ▁own ▁family ' s ▁name ) ▁to ▁gain ▁follow ers ▁which ▁allowed ▁him ▁to ▁wrest ▁control ▁of ▁the ▁island . ▁ ▁The ▁Tr un aj aya ▁re bell ion ▁began ▁in ▁ 1 6 7 4 ▁as ▁Tr un aj aya ' s ▁forces ▁conducted ▁ra ids ▁against ▁the ▁cities ▁under ▁Mat aram ▁control . ▁In ▁ 1 6 7 6 , ▁a ▁re bel ▁army ▁of ▁ 9 , 0 0 0 ▁inv aded ▁East ▁Java ▁from ▁their ▁base ▁in ▁Mad ura , ▁and ▁took ▁Sur ab aya ▁– ▁the ▁principal ▁city ▁of ▁East ▁Java ▁– ▁shortly ▁after . ▁The ▁army ▁consisted ▁of ▁East ▁J avan ese , ▁Mad ur ese ▁and ▁Mak ass ar ese ▁and ▁was ▁led ▁by ▁Tr un aj aya ▁and ▁his ▁Mak ass ar ese ▁al ly ▁K ara eng ▁G ales ong . ▁ ▁Battle ▁▁ ▁In ▁