The Seventh India Armada was assembled in 1505 on the order of King Manuel I of Portugal and placed under the command of D. Francisco de Almeida, the first Portuguese Viceroy of the Indies. The 7th Armada set out to secure the dominance of the Portuguese navy over the Indian Ocean by establishing a series of coastal fortresses at critical points – Sofala, Kilwa, Anjediva, Cannanore – and reducing cities perceived to be local threats (Kilwa, Mombasa, Onor).

Background

By 1504, the Portuguese crown had already sent six armadas to India. The expeditions had opened hostilities with Calicut (Calecute, Kozhikode), the principal entrepôt of the Kerala pepper trade and dominant city-state on the Malabar coast of India. To counter the power of the ruling Zamorin of Calicut, the Portuguese forged alliances and established factories in three smaller rival coastal states, Cochin (Cochim, Kochi), Cannanore (Canonor, Kannur) and Quilon (Coulão, Kollam).

When the Portuguese India Armadas were in India (August to January), the Portuguese position in India was safe – the Calicut fleet was no match against the superior Portuguese naval and cannon technology of the armada. But in the spring and summer months, when the armada was absent, the Portuguese factories were very vulnerable. The armies of the Zamorin of Calicut had nearly overrun Cochin twice in the intervening years. The Fifth Armada (1503) under Afonso de Albuquerque had erected a small timber fortress, (Fort Sant'Iago, soon to be renamed Fort Manuel), to protect the factory in Cochin. The Sixth Armada (1504), under Lopo Soares de Albergaria had dropped off a larger Portuguese garrison and a small coastal patrol to harass Calicut and protect the allied cities. But this was not nearly enough against a Zamorin that could call on an army of tens of thousands. While the Zamorin's vast army had been humiliated at the Battle of Cochin (1504), it was a close-run thing, and he might have better luck next time.

The Zamorin was quick to realise the urgency of rectifying the imbalance in naval and cannon power. To this end, he called on his old partners in the spice trade. The Venetians had already dispatched a couple of military engineers to help the Zamorin forge European cannon. The Ottomans had dispatched some shipments of firearms. But the critical missing factor was a fleet that could match the Portuguese at sea. This was something only the Mameluke sultanate of Egypt could provide. The Mameluke sultan had several Red Sea ports available (notably, Jeddah, recently expanded) where a fleet could be built. But, despite the entreaties of the Zamorin, the Venetian Republic, the Sultan of Gujarat and the overseas Arab merchant community, the Mameluke sultan had been slow to react to the Portuguese threat in the Indian Ocean. It was really only in 1503 or 1504, when his own treasury officers reported that the disruptive Portuguese activities were beginning to make a dent in the Mameluke treasury (dwindling revenues from customs dues on the spice trade and pilgrim traffic), that the Mameluke sultan was finally roused to action. Secret preparations began for the construction of a coalition fleet in the Red Sea ports, to drive the Portuguese out of the Indian Ocean.

In September/October 1504 (or perhaps 1503?), the Mameluke sultan Al-Ashraf Qansuh al-Ghawri of Egypt dispatched an embassy to Rome, angrily demanding that the pope reign in the Portuguese, threatening to mete out the same treatment on Christian pilgrims to the Holy Land as the Portuguese had been handing Muslim pilgrims to Mecca. The sultan's complaint was forwarded to Lisbon by a worried Pope Julius II. But it only served to alert King Manuel I of Portugal that the sleeping Mameluke giant had been awakened, that something large was afoot, and that the Portuguese had better secure their position in the Indian Ocean before it was too late.The letter of the Mameluke sultan to the Pope is transcribed in Damião de Góis's Chronica, pp. 124–125. King Manuel I's reply to the pope, dated June 1505, is also transcribed. See also Barrros (Dec. I, Lib. 8, c. 2)

The Portuguese position was indeed precarious – not only in India, but also in East Africa. The Portuguese had an old reliable ally in Malindi (Melinde), but the stages up to Malindi were weak. The powerful city-state of Kilwa (Quíloa), which dominated the East African coast, was inherently hostile to the Portuguese interlopers, but had thus far restrained her hand for fear of reprisals. (Kilwa had been forced to pay tribute by Vasco da Gama in 1502). But should a serious Muslim fleet challenge the Portuguese in the Indian Ocean, Kilwa would likely take the opportunity for action. As putative overlord of the Swahili Coast, Kilwa could probably close down all the Portuguese staging points in East Africa, including the all-important Mozambique Island (the critical stop after the Cape crossing) and the attractive port of Sofala (the entrepot of the Monomatapa gold trade, which the Portuguese were trying to tap into). Mombasa (Mombaça) would only be too happy to overrun its neighbour and rival Malindi, depriving the Portuguese of their only ally in the region.

So the Almeida expedition of 1505, the 7th Armada to the Indies, had the double objective of securing the Portuguese position in India against Calicut and in East Africa against Kilwa, before the Egyptian-led coalition cobbled their naval strike force together.

Appointment of Almeida The 7th Armada was to be an expedition like no other before: it was going to establish a Portuguese government in the Indian Ocean, a Viceroy of the Indies

This had been a long-gestating and controversial idea in the Portuguese court. When King John II of Portugal devised the plan of opening a sea-route to India, he thought primarily in terms of personal enrichment. An ambitious and centralising monarch, John II saw wealth as a means to break the crown's dependence on the feudal nobility, and concentrate power in the king's hands. The spice trade was merely a means to build up the royal treasury. John II's successor, King Manuel I of Portugal, was a more traditional monarch, happy in the company of high nobles, with a more Medieval outlook, including an eagerness to spread religion and pursue 'holy war'.Subrahmanyam (1997: p. 55)

For the first few years of Manuel's reign, the India armadas had been largely handled by the 'pragmatic' party inherited from John II. They saw the India run largely as he had – a commercial venture – and tailored the missions accordingly. But the success of the early Portuguese armadas had now attracted other parties. The 'Medievalists' in the Portuguese court, notably Duarte Galvão, now wanted to give the India expeditions the glitter of a crusade, presenting it as the opening of a 'new front' in a holy war on Islam, a resumption of the old reconquista. Galvão openly romanticised about King Manuel personally conquering Jerusalem and even Mecca.Subrahmanyam (1997: p. 55)

The old pragmatists naturally baulked at the prospect of turning their lucrative cash-making enterprise into a quixotic venture for holy glory. Court pragmatists like D. Diogo Lobo, Baron of Alvito, the powerful vedor da fazenda, fought hard to keep the India armadas from being diverted into messianic pursuits by Duarte Galvão's clique.

The decision to establish a Portuguese 'Vice-roy' of the Indies, to oversee all Portuguese establishments in the Indian Ocean, had been conceived as early as 1503. It represented something a victory for the Medievalists. In effect, it announced that the Portuguese would no longer be content to merely trade for spices, that they were going to establish a Christian state in the east, to spread religion, make alliances and launch a Holy War on the eastern flank of Islam. In Manuel & Galvão's vision, it would be a two-pronged Christian offensive that would converge on the Holy Land itself. The attack on the western flank was taken up by Manuel that very same year, with the resumption of expeditions against Morocco (Agadir, Mogador, etc.).

The establishment of a Portuguese state in India had a more practical reason: to help Portugal make formal treaties with Indian states. Portuguese India Armadas, organised by the Casa da India (the royal commercial trading house), had been visiting India yearly since Vasco da Gama's first arrival in 1498. But their powers were unclear. They had been operating largely as visiting merchant convoys, buying spices and returning home. Although the captain-majors of Portuguese India armadas claimed to be ambassadors for a distant King of Portugal, and delivered royal letters of communication, Indian potentates doubted whether these captains actually represented anyone at all. Many suspected they were simply self-aggrandizing private merchants and pirates, trying to extract favourable trade terms for themselves by falsely claiming some exalted authority, to be speaking on behalf of some foreign potentate. The treaties struck with the annual captains, different every year, and terms often changing, did not feel like proper treaties but just temporary agreements while they filled their hulls. The Zamorin of Calicut had at one point demanded to send ambassadors to the royal court of King Manuel I of Portugal, since he didn't believe the armada captains really had any authority to negotiate treaties in his name. So the establishment of a permanent Portuguese state authority in the Indian Ocean in 1505, a "Estado da India", with explicit political authority, and a permanent local governor, superior to the armada captains in India, able to control their behaviour and enforce terms, was essential to win the trust of Indian rulers, and enable Portugal to negotiate and conclude binding inter-state treaties of trade and alliance.

The first designated vice-roy, the commander of the 7th armada, was decided around 1504 to be Tristão da Cunha. A powerful high noble, courtier and royal counsellor of Manuel I, Cunha had sufficient pragmatic instincts to be acceptable to the older party (Cunha had participated in outfitting ships in previous armadas). However, in early 1505, Tristão da Cunha was struck by an affliction to his eyesight rendering him temporarily blind. As a result, the choice for his replacement fell upon Dom Francisco de Almeida.

D. Francisco de Almeida was a younger son of the D. Lopo de Almeida, Count of Abrantes. The Almeida family was one of the most powerful, resolute and vocal opponents of Manuel I of Portugal in these years, and the primary supporters of Manuel's main rival, D. Jorge de Lencastre. But Francisco had always been a bit of a black sheep in the Almeida family. In his youth, he entered into at least two conspiracies against King John II of Portugal (to whom the Almeidas were devoted), and was even exiled for a spell.

Francisco de Almeida's ambivalent loyalties might have been regarded by Manuel as a political opportunity. If he cultivated the cadet, Manuel might yet lure the rest of the Almeida family over to his side, or at least weaken their opposition. Francisco de Almeida, bubbling with ambition, seemed prepared to do anything to receive the appointment. In January 1505, he scandalously abandoned Lencastre's Order of Santiago to join Manuel's Order of Christ. He received his appointment letter from Manuel I shortly after, on 27 February 1505.

Manuel I designated D. Francisco de Almeida as captain-major of the 7th Armada, with the obligation to remain in India for three years. He would only be allowed to assume the title of 'Vice-Roy' upon the construction of four crown fortresses in India at Anjediva, Cannanore, Cochin and Quilon.Logan (1887: p. 312)