Vasco da Gama sets sail from Lisbon, Portugal, on his second voyage to India.

The 4th Portuguese India Armada was assembled in 1502 on the order of King Manuel I of Portugal and placed under the command of D. Vasco da Gama. It was Gama's second trip to India. The fourth of some thirteen Portuguese India Armadas, it was designed as a punitive expedition, targeting Calicut, to avenge the travails of the 2nd Armada and the massacre of the Portuguese factory in 1500. A feeling of vengeance drove the expedition.

Along the way, in East Africa, the 4th Armada established a Portuguese factory in present-day Mozambique, made contact and opened trade with the gold entrepot of Sofala and extorted tribute from Kilwa. Once in India, the armada set about attacking Calicut shipping and disrupting trade along much of the Malabar Coast. But the ruling Zamorin of Calicut refused to accede to Portuguese demands, arguing that the violent exactions of the armada exceeded any claims they might have for compensation. The 4th Armada left without bringing the Zamorin to terms and leaving matters unresolved. Before departing, the armada established a crown factory in Cannanore and left behind a small patrol under Vicente Sodr, the first permanent Portuguese fleet in the Indian Ocean.

Vasco da Gama, 1st Count of Vidigueira (UK: , US: ; European Portuguese: [ˈvaʃku ðɐ ˈɣɐ̃mɐ]; c. 1460s – 24 December 1524), was a Portuguese explorer and the first European to reach India by sea.His initial voyage to India by way of Cape of Good Hope (1497–1499) was the first to link Europe and Asia by an ocean route, connecting the Atlantic and the Indian oceans and therefore, the West and the Orient. This is widely considered a milestone in world history, as it marked the beginning of a sea-based phase of global multiculturalism. Da Gama's discovery of the sea route to India opened the way for an age of global imperialism and enabled the Portuguese to establish a long-lasting colonial empire along the way from Africa to Asia. The violence and hostage taking employed by da Gama and those who followed also assigned a brutal reputation to the Portuguese among India's indigenous kingdoms that would set the pattern for western colonialism in the Age of Exploration. Traveling the ocean route allowed the Portuguese to avoid sailing across the highly disputed Mediterranean and traversing the dangerous Arabian Peninsula. The sum of the distances covered in the outward and return voyages made this expedition the longest ocean voyage ever made until then.After decades of sailors trying to reach the Indies, with thousands of lives and dozens of vessels lost in shipwrecks and attacks, da Gama landed in Calicut on 20 May 1498. Unopposed access to the Indian spice routes boosted the economy of the Portuguese Empire, which was previously based along northern and coastal West Africa. The main spices at first obtained from Southeast Asia were pepper and cinnamon, but soon included other products, all new to Europe. Portugal maintained a commercial monopoly of these commodities for several decades. It was not until a century later that other European powers, first the Dutch Republic and England, later France and Denmark, were able to challenge Portugal's monopoly and naval supremacy in the Cape Route.

Da Gama led two of the Portuguese India Armadas, the first and the fourth. The latter was the largest and departed for India four years after his return from the first one. For his contributions, in 1524 da Gama was appointed Governor of India, with the title of Viceroy, and was ennobled as Count of Vidigueira in 1519. He remains a leading figure in the history of exploration, and homages worldwide have celebrated his explorations and accomplishments. The Portuguese national epic poem, Os Lusíadas, was written in his honour by Luís de Camões. In March 2016 thousands of artifacts and nautical remains were recovered from the wreck of the ship Esmeralda, one of da Gama's armada, found off the coast of Oman.