Spain eventually succeeded on conquering of the island of Panay when Spanish conquistador Miguel López de Legazpi moved his headquarters from the island of Cebu and creating the first Spanish settlement in the island in Ogtong in 1566. This is mainly due in part to the rivalries between the Bisaya and the Moro, of which the former found an ally in Spanish against the latter. The Bisaya accepted alliances with Spain, to defend themselves against the enslaving Moros. To this end, Iloilo contributed troops in the Castille War against the Sultanate of Brunei. In 1581, the encomienda in Ogtong was moved to La Villa Rica de Arevalo, because of frequent coastal raids by the Dutch privateers. Furthermore, an attack in the year 1600 (Part of the Spanish–Moro conflict) where there was a large Muslim armada to destroy Iloilo City, led by two Moros named Sirungan and Salikala who lead the Muslim force of 70 ships and 4,000 warriors that had raided and attacked several Visayan islands in order to abduct slaves to sell to their allies in the Sultanate of Demak and the Sultanate of Malacca, eventually caused the move of the city center further on to the mouth of the Irong-Irong river founding what is now Iloilo City and constructing Fort San Pedro to defend it in 1616. Nevertheless, when the 4,000 Moros led by Sirungan and Salikala tried to attack Iloilo City they were repulsed with heavy losses in the town of Arevalo by a force of 1,000 Hiligaynon warriors and 70 Mexican arquebusiers under the command of Juan García de Sierra, the Spanish officer who died in the battle. Spanish christianized the area.