Spanish–Moro conflict
The Spanish initiated the conflict by conquering the Philippines and invading Moro territory in an effort to subjugate the region to their rule since the 1500s. When the Spanish conquered the Muslim Kingdom of Maynila, a vassal of the Sultanate of Brunei, the Islamic rajah, Rajah Sulayman resisted the Spanish. Manila then became the capital of the Spanish Philippines after the conquest, with the Spanish forcibly converting people to Catholicism. The Spanish–Moro Wars started with the Castille War, a war between Spaniards and the Sultanate of Brunei. (The term "Moro" at this time included Muslim Tagalogs who were ruled by the Sultanate of Brunei).
History of the Philippines (1521–1898)
On June 12, the armada attacked the Spanish port of Cavite. The battle lasted eight hours, and the Spanish believed they had done much damage to the enemy flagship and the other vessels. The Spanish ships were not badly damaged and casualties were low. However, nearly every roof in the Spanish settlement was damaged by cannon fire, which particularly concentrated on the cathedral. On June 19, the armada was split, with six ships sailing for the shipyard of Mindoro and the other six remaining in Manila Bay. The Dutch next attacked Pampanga, where they captured the fortified monastery, taking prisoners and executing almost 200 Filipino defenders. The governor ordered solemn funeral rites for the dead and payments to their widows and orphans.