Political history of the Philippines
Early polities in what is now the Philippines were small entities known as barangays, although some larger states were established following the arrival of Hinduism and Islam through regional trade networks. The arrival of Spanish settlers began a period of Spanish expansion which led to the creation of the Captaincy General of the Philippines, governed out of Manila.
Source: Wikipedia — Political history of the Philippines (CC BY-SA 4.0)