The Portuguese invaded the Kingdom of Kandy in 1594, 1602 and 1630, but they were defeated on all three occasions by the Kandyans. Meanwhile, after 1602, Dutch envoys began visiting Kandy, and by 1638 negotiations were taking place for a Dutch–Kandyan alliance. A Portuguese army, led by Diogo de Melo de Castro, then invaded Kandy in order to capture it before an alliance could take place. However, the Portuguese army was annihilated on 28 March 1638 in a decisive battle at Gannoruwa. Meanwhile, the Dutch fleet arrived in Sri Lanka on 2 April 1638 and made contact with the Kandyans. Priority was given to capture the Batticaloa and Trincomalee forts. These forts were situated within Kandyan territory and had been built ten years earlier by the Portuguese in violation of the peace treaty that
| Graph IRI | Count |
|---|---|
| http://dbkwik.webdatacommons.org | 57 |