Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
The Portuguese arrived in the Kingdom of Kotte in 1505. By 1594 they had appointed a captain-general to control the Portuguese occupied territory called Portuguese Ceylon on the island of modern-day Sri Lanka. In that time, there were numerous captain-generals until 1658. The post of captain-general was preceded by that of the captain-major in 1551 and before that by the captain in 1518.