▁had ▁not ▁done ▁his ▁best ▁in ▁the ▁struggle ▁against ▁A ce h . ▁A ▁Portuguese ▁source ▁from ▁c . ▁ 1 5 1 2 - 1 5 ▁suggests ▁that ▁the ▁war ▁between ▁A ce h ▁and ▁P idi ë ▁was ▁ra ging ▁at ▁that ▁time . ▁After ▁a ▁while ▁Sultan ▁Ali ▁M ugh ay at ▁Sy ah ▁inv aded ▁P idi ë ▁whose ▁r uler ▁was ▁abandoned ▁by ▁his ▁people ▁and ▁only ▁def ended ▁by ▁his ▁slaves . ▁Sultan ▁A hm ad ▁fled ▁to ▁Pas ai ▁while ▁P idi ë ▁was ▁incorpor ated ▁in ▁the ▁A ce h ▁kingdom . ▁Portuguese ▁sources ▁indicate ▁that ▁this ▁happened ▁in ▁the ▁early ▁ 1 5 2 0 s ▁ ▁Conf lict ▁with ▁Portuguese ▁Mel aka ▁ ▁Meanwhile , ▁the ▁Portuguese ▁had ▁conquer ed ▁Mel aka ▁in ▁ 1 5 1 1 . ▁They ▁rapidly ▁gained ▁the ▁anim os ity ▁of ▁Muslim ▁and ▁other ▁trad ers ▁who ▁preferred ▁to ▁move ▁to ▁other ▁port ▁cities ▁in ▁the ▁region . ▁In ▁this ▁process , ▁the ▁strongly ▁Muslim ▁A ce h ▁was ▁a ▁clear ▁winner . ▁A ce h ▁enjoyed ▁a ▁strateg ic ▁location ▁at ▁the ▁northern ▁tip ▁of ▁Sum atra , ▁which ▁gave ▁it ▁access ▁to ▁trade ▁in ▁the ▁Indian ▁Ocean ▁area ▁and ▁the ▁Red ▁Sea . ▁An ▁un re li able ▁Ott oman ▁account ▁says ▁that ▁the ▁s ultan ▁of ▁A ce h ▁approached ▁the ▁Ott oman ▁s ultan ▁Sel im ▁I ▁in ▁ 1 5 1 6 ▁and ▁offered ▁v ass al age . ▁However , ▁the