<prompt> Translate the following text to EnglishAlitawala jumuiya isiyo ya Kireno na wakuu wa Kapteni wa Malay na mabwana wa bandari ya wageni wa shahbandar.  <response>: He ruled the non-Portuguese community with Malay kapitan headmen and the foreigners shahbandar harbor-masters. 