The Portuguese navy defeats a joint fleet of the Ottoman Empire, the Republic of Venice, the Sultan of Gujarat, the Mamlûk Burji Sultanate of Egypt, the Zamorin of Calicut, and the Republic of Ragusa at the Battle of Diu in Diu, India.

The Battle of Diu was a naval battle fought on 3 February 1509 in the Arabian Sea, in the port of Diu, India, between the Portuguese Empire and a joint fleet of the Sultan of Gujarat, the Mamlk Burji Sultanate of Egypt, and the Zamorin of Calicut with support of the Republic of Venice and the Ottoman Empire.The Portuguese victory was critical: the great Muslim alliance was soundly defeated, easing the Portuguese strategy of controlling the Indian Ocean to route trade down the Cape of Good Hope, circumventing the historical spice trade controlled by the Arabs and the Venetians through the Red Sea and Persian Gulf. After the battle, Kingdom of Portugal rapidly captured several key ports in the Indian Ocean including Goa, Ceylon, Malacca, Bom Baim and Ormuz. The territorial losses crippled the Mamluk Sultanate and the Gujarat Sultanate. The battle catalpulted the growth of the Portuguese Empire and established its political dominance for more than a century. Portuguese power in the East would begin to decline with the sackings of Goa and Bombay-Bassein, Portuguese Restoration War and the Dutch colonisation of Ceylon.

The Battle of Diu was a battle of annihilation similar to the Battle of Lepanto and the Battle of Trafalgar, and one of the most important in world naval history, for it marks the beginning of European dominance over Asian seas that would last until the Second World War.

The Portuguese Empire (Portuguese: Império Português), also known as the Portuguese Overseas (Ultramar Português) or the Portuguese Colonial Empire (Império Colonial Português), was composed of the overseas colonies, factories, and the later overseas territories governed by Portugal. It was one of the longest-lived empires in European history, lasting almost six centuries from the conquest of Ceuta in North Africa, in 1415, to the transfer of sovereignty over Macau to China in 1999. The empire began in the 15th century, and from the early 16th century it stretched across the globe, with bases in North and South America, Africa, and various regions of Asia and Oceania.The Portuguese Empire originated at the beginning of the Age of Discovery, and the power and influence of the Kingdom of Portugal would eventually expand across the globe. In the wake of the Reconquista, Portuguese sailors began exploring the coast of Africa and the Atlantic archipelagos in 1418–19, using recent developments in navigation, cartography, and maritime technology such as the caravel, with the aim of finding a sea route to the source of the lucrative spice-trade. In 1488 Bartolomeu Dias rounded the Cape of Good Hope, and in 1498 Vasco da Gama reached India. In 1500, either by an accidental landfall or by the crown's secret design, Pedro Álvares Cabral reached what would be Brazil.

Over the following decades, Portuguese sailors continued to explore the coasts and islands of East Asia, establishing forts and trading posts (factories) as they went. By 1571 a string of naval outposts connected Lisbon to Nagasaki along the coasts of Africa, the Middle East, India, and South Asia. This commercial network and the colonial trade had a substantial positive impact on Portuguese economic growth (1500–1800) when it accounted for about a fifth of Portugal's per-capita income.

When King Philip II of Spain (Philip I of Portugal) seized the Portuguese crown in 1580 there began a 60-year union between Spain and Portugal known to subsequent historiography as the Iberian Union. The realms continued to have separate administrations. As the King of Spain was also King of Portugal, Portuguese colonies became the subject of attacks by three rival European powers hostile to Spain: the Dutch Republic, England, and France. With its smaller population, Portugal found itself unable to effectively defend its overstretched network of trading posts, and the empire began a long and gradual decline. Eventually, Brazil became the most valuable colony of the second era of empire (1663–1825), until, as part of the wave of independence movements that swept the Americas during the early 19th century, it broke away in 1822.

The third era of empire covers the final stage of Portuguese colonialism after the independence of Brazil in the 1820s. By then, the colonial possessions had been reduced to forts and plantations along the African coastline (expanded inland during the Scramble for Africa in the late 19th century), Portuguese Timor, and enclaves in India (Portuguese India) and China (Portuguese Macau). The 1890 British Ultimatum led to the contraction of Portuguese ambitions in Africa.

Under António Salazar (in office 1932–1968), the Estado Novo dictatorship made some ill-fated attempts to cling on to its last remaining colonies. Under the ideology of pluricontinentalism, the regime renamed its colonies "overseas provinces" while retaining the system of forced labour, from which only a small indigenous élite was normally exempt. In 1961 India annexed Goa and Damaon and Dahomey annexed Fort of São João Baptista de Ajudá. The Portuguese Colonial War in Africa lasted from 1961 until the final overthrow of the Estado Novo regime in 1974. The Carnation Revolution of April 1974 in Lisbon led to the hasty decolonization of Portuguese Africa and to the 1975 annexation of Portuguese Timor by Indonesia. Decolonization prompted the exodus of nearly all the Portuguese colonial settlers and of many mixed-race people from the colonies. Portugal returned Macau to China in 1999. The only overseas possessions to remain under Portuguese rule, the Azores and Madeira, both had overwhelmingly Portuguese populations, and Lisbon subsequently changed their constitutional status from "overseas provinces" to "autonomous regions".