ed iri ▁kingdom ▁existed ▁alongside ▁the ▁S riv ij aya ▁emp ire ▁based ▁in ▁Sum atra ▁throughout ▁ 1 1 th ▁to ▁ 1 2 th - century , ▁and ▁seems ▁to ▁have ▁maintained ▁trade ▁relations ▁with ▁China ▁and ▁to ▁some ▁extent ▁India . ▁Chinese ▁account ▁identify ▁this ▁kingdom ▁as ▁T sa o - wa ▁or ▁Ch ao - wa ▁( Java ), ▁numbers ▁of ▁Chinese ▁records ▁sign ify ▁that ▁Chinese ▁expl or ers ▁and ▁trad ers ▁frequ ented ▁this ▁kingdom . ▁Rel ations ▁with ▁India ▁were ▁cultural ▁one , ▁as ▁numbers ▁of ▁J avan ese ▁ra ka wi ▁( po et ▁or ▁scholar ) ▁wrote ▁liter atures ▁that ▁been ▁inspired ▁by ▁H indu ▁myth ology , ▁belief s ▁and ▁ep ics ▁such ▁as ▁Mah ab har ata ▁and ▁Ram ay ana . ▁ ▁In ▁ 1 1 th - century , ▁S riv ij ay an ▁h eg em ony ▁in ▁Indones ian ▁arch ip el ago ▁began ▁to ▁decl ine , ▁marked ▁by ▁Raj endra ▁Ch ola ▁invasion ▁to ▁Mal ay ▁Pen ins ula ▁and ▁Sum atra . ▁The ▁Ch ola ▁king ▁of ▁Cor om and el ▁conquer ed ▁K ed ah ▁from ▁S riv ij aya . ▁The ▁weak ening ▁of ▁S riv ij ay an ▁h eg em ony ▁has ▁enabled ▁the ▁formation ▁of ▁regional ▁kingdom s , ▁like ▁K ed iri , ▁based ▁on ▁agricult ure ▁rather ▁than ▁trade . ▁Later ▁K ed iri ▁managed ▁to ▁control ▁the ▁sp ice ▁trade ▁routes ▁to ▁Mal u ku . ▁