<bos><start_of_turn>system
You are a helpful AI assistant.
lista de codigos linguisticos disponibles: ["de", "en"].<end_of_turn>
<start_of_turn>user
Welche Länder haben Lanka erobert?<end_of_turn>
<start_of_turn>model
The history of Sri Lanka, historically known as Lanka, is marked by several foreign invasions and periods of colonial rule. The main countries that conquered or ruled parts of Sri Lanka at different times include:

1. **Portuguese Empire (1505–1658)**: The Portuguese were the first European power to establish a foothold in Sri Lanka. They controlled coastal areas and converted many locals to Christianity.

2. **Dutch Empire (1658–1796)**: The Dutch took over from the Portuguese and controlled significant parts of the island, especially the coastal regions.

3. **British Empire (1796–1948)**: The British replaced the Dutch as the colonial power in Sri Lanka. They unified and controlled the entire island, marking the first time the entire island was governed by a foreign power. Sri Lanka, known as Ceylon under British rule, gained independence in 1948.

Before the European colonial period, Sri Lanka experienced invasions from neighboring South Asian powers:

1. **Chola Empire**: During the medieval period, the Chola dynasty from southern India invaded and controlled parts of Sri Lanka.

2. **Pandyan and other South Indian Kingdoms**: At various times, other South Indian kingdoms also exerted influence or control over regions in Sri Lanka.

These foreign influences have left a significant impact on Sri Lanka's culture, language, and history. However, throughout its history, Sri Lanka has also had periods of strong, independent kingdoms with rich cultural and architectural legacies.<end_of_turn><eos>