He ruled the non-Portuguese community with Malay kapitan headmen and the foreigners ' shahbandar harbor-masters .
He was not able to rule so Malay kapitan headmen and shahbandar harbor masters came in to fulfill the duty .