spanish authorities and native christian filipinos responded to the moro slave raids by building watchtowers and forts across the philippine archipelago. many of which are still standing today. some provincial capitals were also moved further inland. major command posts were built in manila, cavite, cebu, iloilo, zamboanga, and iligan. defending ships were also built by local communities, especially in the visayas islands, including the construction of war ""barangayanes"" ("balangay") that were faster than the moro raiders and could give chase. as resistance against raiders increased, "lanong" were eventually replaced by the smaller and faster "garay" (which did not have outriggers) in the early 19th century. the moro raids were eventually subdued by several major naval expeditions by the spanish and local forces from 1848 to 1891, including retaliatory bombardment and capture of moro settlements. by this time, the spanish had also acquired steam gunboats ("vapor"), which could easily overtake and destroy the native moro warships.