Just two years after
Vasco da Gama reached India by sea, the Portuguese realized that the prospect of developing trade such as that which they had practiced in West Africa had become an impossibility, due to the opposition of Muslim merchant elites in the western coast of India, who incited attacks against Portuguese
feitorias, ships, and agents; sabotaged Portuguese diplomatic efforts; and led the
massacre of the Portuguese in Calicut in 1500. Thus, the Portuguese signed an alliance with a sworn enemy of Calicut instead, the Raja of
Cochin, who invited them to establish
headquarters. The
Zamorin of Calicut invaded Cochin in response, but the Portuguese were able to devastate the lands and cripple the trade of Calicut, then the main exporter of spices back to Europe, through the
Red Sea. In December 1504, the Portuguese destroyed the
Zamorin's yearly merchant fleet, bound for Egypt and laden with spices. When
King Manuel I of Portugal received news of these developments, he decided to nominate
Dom Francisco de Almeida as the first viceroy of India with expressed orders not just limited to safeguarding Portuguese
feitorias, but also to curb hostile Muslim shipping. Dom Francisco departed from Lisbon in March 1505 with twenty ships and his 20-year-old son, Dom Lourenço, who was himself nominated
capitão-mor do mar da Índia or captain-major of the sea of India.
Portuguese intervention was seriously disrupting Muslim
trade in the Indian Ocean, threatening
Venetian interests as well, as the Portuguese became able to undersell the Venetians in the spice trade in Europe. Unable to oppose the Portuguese, the Muslim communities of traders in India as well as the sovereign of
Calicut, the
Zamorin, sent envoys to Egypt pleading for aid against the Portuguese.
Venice broke diplomatic relations with Portugal and started looking for ways to counter its intervention in the Indian Ocean, sending an ambassador to the Mamluk court and suggested that "rapid and secret remedies" be taken against the Portuguese. Mamluk soldiers had little expertise in naval warfare, so the Mamluk Sultan,
Al-Ashraf Qansuh al-Ghawri requested Venetian support, in exchange for lowering tariffs to facilitate competition with the Portuguese.) included not only Egyptian Mamluks, but also a large number of Turkish,
Nubian and Ethiopian mercenaries as well as Venetian gunners Hence only in September 1507 did they reach
Diu, a city at the mouth of the
Gulf of Khambhat, in a journey that could have taken as little as a month to complete at full sail.
Diu and Malik Ayyaz At the time of the arrival of the Portuguese in India, the Gujarati were the main long distance dealers in the Indian Ocean, and an essential intermediary in east–west trade, between
Egypt and
Malacca, mostly trading cloths and spices. In the 15th century, the Sultan of Gujarat nominated
Malik Ayyaz, a former bowman and slave of possible
Georgian or
Dalmatian origin, as the governor of Diu. A cunning and pragmatic ruler, Malik Ayyaz turned the city into the main port of Gujarat (known to the Portuguese as
Cambaia) and one of the main entrepôts between India and the
Persian Gulf, avoiding Portuguese hostility by pursuing a policy of appeasement and even alignment – up until Hussain unexpectedly sailed into Diu. Malik Ayyaz received Hussain well, but besides the Zamorin of Calicut, no other rulers of the Indian subcontinent were forthcoming against the Portuguese, unlike what the Muslim envoys to Egypt had promised. Ayyaz himself realized the Portuguese were a formidable naval force whom he did not wish to antagonize. He could not, however, reject Hussain for fear of retaliation from the powerful Sultan of Gujarat – besides obviously Hussain's own forces now within the city. Caught in a double bind, Ayyaz decided to only cautiously support Hussain.
Battle of Chaul In March 1508, Hussain's and Ayyaz's fleets sailed south and clashed with Portuguese ships in a three-day naval engagement within the harbour of Chaul. The Portuguese commander was the captain-major of the seas of India,
Lourenço de Almeida, tasked with overseeing the loading of allied merchant ships in that city and escorting them back to Cochin. Although the Portuguese were caught off guard (the distinctively European-like ships of Hussein were at first thought to belong to the expedition of Afonso de Albuquerque, assigned to the Arabian Coast), the battle ended as a
Pyrrhic victory for the Muslims, who suffered too many losses to be able to proceed towards the
Portuguese headquarters in Cochin. Despite fortuitously sinking the Portuguese flagship, the rest of the Portuguese fleet escaped, while Hussain himself barely survived the encounter because of the unwilling committal of Malik Ayyaz to the battle. Hussain was left with no other choice but to return to Diu with Malik Ayyaz and prepare for a Portuguese retaliation. Hussain reported this battle back to Cairo as a great victory; however, the
Mirat Sikandari, a contemporary
Persian account of the Kingdom of Gujarat, details this battle as a minor skirmish. Nevertheless, among the dead was the viceroy's own son, Lourenço, whose body was never recovered, despite the best efforts of Malik Ayyaz to retrieve it for the Portuguese viceroy. ==Portuguese preparations==