Affonso de Albuquerque was born at Alhandra, a beautiful village about eighteen miles from Lisbon, in 1453. He was brought up at the court of King Affonso V, where he is said to have been a page. He was certainly educated with the king's sons, and became in his early years a friend of Prince John, afterwards John II. He was not only a thorough master of his own language, which, as his despatches show, he wrote with force and elegance, but he also studied Latin and Mathematics. The latter science was an especial favourite of his and very useful to him during his voyages, in assisting him to master the technicalities of navigation, so that he could, in time of need, act as a pilot. The court of Affonso V was well calculated to stir the knightly spirit of a lad. The king himself was known as El Rey Cavalleiro or the Chivalrous King; his one delight was in war, and he was never tired of reading the romances of mediaeval chivalry and trying to follow the example of its heroes. King Affonso V had also a great taste for literature: he founded the famous library at Evora, and his answer to the chronicler, Acenheiro, who asked how he should write the chronicle of his reign, illustrated his disposition; for he answered simply, 'Tell the truth.'
In 1471 Affonso de Albuquerque, then a young man of eighteen, served in King Affonso's third expedition to Morocco, in which the Portuguese took the cities of Tangier, Anafe, and Arzila. In the last of these towns he remained for some years as an officer of the garrison. This was an excellent school for the training of an officer, and Albuquerque there learnt not only his military duties but his hatred for the Muhammadans. It was in the garrisons in Morocco that the Portuguese soldiers and captains, who were to prove their valour in the East, served their apprenticeship to war; and the ten years which Albuquerque spent there were not years thrown away.
In 1481, when his friend John II succeeded to the throne, Affonso de Albuquerque returned to Portugal, and was appointed to the high court office of Estribeiro-Mor, which is equivalent to the post of Master of the Horse or Chief Equerry. This office he held throughout the reign of John II, and his close intimacy with that wise and great king ripened his intellect and trained him to thoughts of great enterprises. John II was always thinking of the direct sea route to India; Albuquerque shared his hopes, and there can be no doubt that the grand schemes for establishing Portuguese influence in Asia which he afterwards conceived, had their origin in his intimacy with The Perfect King. He served on the fleet sent to the Gulf of Taranto to defend King Ferdinand of Naples against an invasion of the Turks; and in 1489 he commanded the defence of the fortress of Graciosa, on the coast of Morocco, against an attack of the Moors.
On the death of John II, in 1495, Affonso de Albuquerque, like the other intimates of the deceased sovereign, was looked upon coldly by King Emmanuel. This cannot be wondered at, for John II had murdered Emmanuel's elder brother with his own hand, and had even thought of ousting Emmanuel himself from the throne by legitimatising his natural son Dom Jorge. In 1495, Affonso de Albuquerque returned to Arzila and served there for some time longer against the Moors. At this period his younger brother Martim was killed by his side in a foray, and the boy's death further increased Albuquerque's personal hatred for all Muhammadans. After this catastrophe Affonso went back to Portugal, and since King Emmanuel was now firmly fixed upon the throne, he did not further hesitate to use the services of so experienced an officer.
In 1503 Affonso de Albuquerque was for the first time despatched to the Indian seas, in which he was at a later date to perform his great feats of arms. In this year he only commanded, as has been said, a little squadron of three ships, and played a part inferior to that played by his cousin Francisco de Albuquerque, the son of John II's Lord High Admiral. His chief act of importance at that time was his commencing to build a fort at Cochin to defend the local Portuguese factory; but he also visited Quilon and appointed a factor in that city. Nevertheless, though he did not do much in 1503, he learnt much that was useful to him in subsequent years. He saw for the first time the Indian coast, and was enabled to study on the spot the problems presented by the establishment of the Portuguese.
He also experienced the difficulties of a divided command. He quarrelled seriously with his cousin, and eventually, in spite of the king's direct orders to the contrary, he left the Malabar coast without waiting for his colleague. On leaving Cochin he took the bold step of shaping his course for Mozambique. Hitherto the Portuguese fleets had always struck the African coast higher up in order to make the passage across the Indian Ocean as short as possible. Nevertheless, guided by a Muhammadan pilot, Albuquerque reached Mozambique in safety, and after a perilous voyage along the West Coast of Africa, arrived at Lisbon in July, 1504. His cousin, who had delayed his departure, was lost at sea with his squadron without anyone ever knowing where or how they perished.
On his return to Portugal Affonso de Albuquerque was very favourably received by King Emmanuel. He encouraged the king's idea of securing the monopoly of the Indian trade, and insisted that the only way by which this could be done was to close the previous routes by the Red Sea and the Persian Gulf. Modern ideas of commercial freedom were unknown even in the last century, when the River Scheldt was closed by treaties assented to by the chief European powers; and it was hardly to be expected that in the sixteenth century the general good of humanity should be preferred to national considerations. King Emmanuel therefore entered into Albuquerque's schemes for destroying the commerce carried on by the Muhammadans with India, and resolved to despatch the chief author of this policy to the East.
Accordingly, in 1506, when Tristão da Cunha was ordered to the East with a fleet of eleven ships, Albuquerque accompanied him with a separate squadron of five ships destined to operate on the coasts of Arabia. Albuquerque was placed under the command of Da Cunha until the island of Socotra should be conquered and garrisoned by the Portuguese, after which event Da Cunha was to proceed to India to load his ships. Albuquerque was then to assume an independent command, and after doing what he could to close the Red Sea to commerce was to go to India and take over the supreme command from the Viceroy, Dom Francisco de Almeida. These secret orders were not communicated to the Viceroy immediately, and Albuquerque was directed not to present his commission until Almeida had completed three years of government. At the same time a powerful fleet was despatched to the Mediterranean, under the Prior of Crato, who was instructed to attack the Turks, and thus to prevent them from sending sailors to assist the Muhammadans in the Eastern seas. Selim I, who was then ruling at Constantinople, was at issue with the Mameluke Sultan of Egypt, whom a few years later he conquered, but the opposition between them was not understood in Portugal, and it was believed that the Turks would be inclined to assist the Egyptians.
On April 5, 1506, Tristão da Cunha and Affonso de Albuquerque set sail from the Tagus. Differences between the two commanders soon appeared. Albuquerque's own pilot had fled to Castile, after murdering his wife, and, since Tristão da Cunha refused to give him another pilot, the future Governor of Portuguese India had to navigate his own vessel. But the difference between them was not due alone to this personal dispute—the two men were of essentially different temperaments. Tristão da Cunha was before all things an explorer; his hope was to discover fresh countries for his royal master. Albuquerque was, on the other hand, a statesman, fully impressed with the importance of the mission on which he was sent and determined to subordinate everything else to it. This radical difference soon made itself felt. When the united fleet reached Mozambique, news was brought to the principal commander by Ruy Pereira Coutinho that he had discovered an island which seemed rich in cloves and other spices. This island he had named the Island of San Lourenço, and it is the island now known as Madagascar. Tristão da Cunha, in spite of the remonstrances of Albuquerque, who refused to accompany him, went off at once to explore the new land. But, after a perilous voyage, he abandoned his purpose and joined Albuquerque to carry out the first aim of the expedition, the conquest of the island of Socotra.