▁Spanish ). ▁It ▁was ▁founded ▁by ▁P ann ai ▁loyal ists ▁who ▁wanted ▁to ▁re est ab lish ▁their ▁state ▁elsewhere ▁following ▁an ▁occupation ▁of ▁their ▁hom eland . ▁ ▁The ▁polity ▁of ▁P ann ai ▁was ▁a ▁milit ant - n ation ▁settled ▁by ▁War rior - Mon ast ics ▁as ▁ev iden ced ▁by ▁the ▁Temple ▁ru ins ▁in ▁the ▁area ▁as ▁it ▁was ▁al lied ▁under ▁the ▁Sri - V ij aya ▁Mand ala ▁that ▁def ended ▁the ▁conflict - rid den ▁Stra it ▁of ▁Mal ac ca . ▁The ▁small ▁kingdom ▁trad ed - with ▁and ▁simultaneously ▁rep uls ed ▁any ▁un lic ensed ▁Chinese , ▁Indones ian , ▁Indian ▁or ▁Arab ▁nav ies ▁that ▁often ▁war red ▁in ▁or ▁pir ated ▁the ▁stra it ▁of ▁Mal ac ca ▁and , ▁for ▁a ▁small ▁country , ▁they ▁were ▁ade pt ▁at ▁taking ▁down ▁arm adas ▁larger ▁than ▁itself ▁- ▁a ▁difficult ▁endeav our ▁to ▁achieve ▁in ▁the ▁stra it ▁of ▁Mal ac ca , ▁which ▁was ▁among ▁the ▁world ' s ▁most ▁hot ly ▁cont ested ▁mar itime ▁cho ke - point ▁where , ▁today , ▁one ▁half ▁of ▁world ▁trade ▁passes ▁through . ▁The ▁naval ▁power ▁of ▁P ann ai ▁was ▁successful ▁in ▁polic ing ▁and ▁def ending ▁the ▁stra ights ▁of ▁Mal ac ca ▁for ▁the ▁Mand ala ▁of ▁S riv ij aya ▁until ▁the ▁Ch ola ▁invasion ▁of ▁S riv ij aya ▁occurred , ▁where in ▁a ▁surprise ▁attack ▁from ▁behind , ▁origin ating ▁from ▁the