The Company destroyed the Portuguese fleet and took over the protection of the Muslim pilgrimage ships to Mecca , but there were no hard feelings ; the Portuguese made a gift of Bombay to King Charles II in 1661 as part of the dowry of Catherine of Braganza .
The Portuguese knew it was better to befriend rather than continue to fight a more powerful adversary .