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)
The European population in the archipelago steadily grew although natives remained the majority. During the initial period of colonization, Manila was settled by 1200 Spanish families. In Cebu City, at the Visayas, the settlement received a total of 2,100 soldier-settlers from New Spain (Mexico). At the immediate south of Manila, Mexicans were present at Ermita and at Cavite where they were stationed as sentries. In addition, men conscripted from Peru, were also sent to settle Zamboanga City in Mindanao, to wage war upon Muslim pirates. There were also communities of Spanish-Mestizos that developed in Iloilo, Negros and Vigan. Interactions between native Filipinos and immigrant Spaniards plus Latin-Americans eventually caused the formation of a new language, Chavacano, a creole of Mexican Spanish.They depended on the Galleon Trade for a living. In the later years of the 18th century, Governor-General Basco introduced economic reforms that gave the colony its first significant internal source income from the production of tobacco and other agricultural exports. In this later period, agriculture was finally opened to the European population, which before was reserved only for the natives.
During Spain’s 333 year rule in the Philippines, the colonists had to fight off the Chinese pirates (who lay siege to Manila, the most famous of which was Limahong in 1573), Dutch forces, Portuguese forces, and indigenous revolts. Moros from western Mindanao and the Sulu Archipelago also raided the coastal Christian areas of Luzon and the Visayas and occasionally captured men and women to be sold as slaves.