Portuguese Ceylon

Portuguese Ceylon (, Sinhala: පෘතුගීසි ලංකාව "Puruthugisi Lankawa", Tamil: போர்த்துக்கேய இலங்கை "Porthukeya Ilankai") is the name given to the territory on Ceylon, modern-day Sri-Lanka, controlled by the Portuguese Empire between 1597 and 1658.
Portuguese presence in the island lasted from 1505 to 1658. Their arrival was largely accidental, and the Portuguese sought control of commerce, rather than territory. The Portuguese were later drawn into the internal politics of the island with the political upheaval of the Wijayaba Kollaya, and used these internal divisions to their advantage during the Sinhalese–Portuguese War, first in an attempt to control the production of valuable cinnamon and later of the entire island. Direct Portuguese rule did not begin until after the death of Dharmapala of Kotte, who died without an heir, and had bequeathed the Kingdom of Kotte to the Portuguese monarch in 1580. That allowed the Portuguese sufficient claim to the Kingdom of Kotte upon Dharmapala's death in 1597. Portuguese rule began with much resistance by the local population.
Eventually, the Kingdom of Kandy sought help from the Dutch East India Company, with whom they initially entered into agreement. After the collapse of the Iberian economy in 1627, the Dutch–Portuguese War saw the Dutch conquest of most of Portugal's Asian colonies - Ceylon included, between 1638 and 1658. Nevertheless, elements of Portuguese culture from this colonial period remain in Sri Lanka.
History.
Arrival and establishment of the Portuguese (1505-1543).
The first contact between Sri Lanka and the Portuguese was established by Dom Lourenço de Almeida in 1505–6. It was largely accidental and it wasn't until 12 years later that the Portuguese sought to establish a fortified trading settlement.