The Zamorin prepared a large fleet of 200 ships to oppose the Portuguese, but in March 1506 Lourenço de Almeida (son of Francisco de Almeida) was victorious in a sea battle at the entrance to the harbour of Cannanore, the Battle of Cannanore, an important setback for the fleet of the Zamorin. Thereupon Lourenço de Almeida explored the coastal waters southwards to Colombo, in what is now Sri Lanka. In Cannanore, however, a new ruler, hostile to the Portuguese and friendly with the Zamorin, attacked the Portuguese garrison, leading to the Siege of Cannanore.