Profiting from the rivalry between the Maharaja and the Zamorin , the Portuguese were well received and seen as allies, getting a permit to build a fort (Fort Manuel) and a trading post that were the first European settlement in India. Thank you for posting your question. I hope it helps.