sentences:  Following the Spoiling of Vijayabahu in 1521, the kingdom of Kotte split into three competing states – Sithawaka, Raigama, and Bhuvanekabahu VII's kingdom of Kotte.Of these Sithawaka, under the dynamic leadership of Mayadunne, posed the greatest threat to the autonomy of the other states.In 1522, the Kandyans secured Portuguese protection against Sithawaka, but any potential for alliance ended in 1546 when Portuguese and Kotte forces invaded the kingdom.