sentences:  The battle was to be the last major military victory for the kingdom of Kandy, and succeeded in severely weakening the Portuguese presence in Sri Lanka.In May of that year he concluded a wide-ranging alliance with the Dutch, who were by now in control of Batavia.Batticaloa and Trincomalee fell in 1639, Galle in 1640, and Kandyan forces seized Portuguese territories further inland.