A Spanish expedition ordered by the conquistador Miguel Lopez de Legazpi demanded the conquest of Manila. His second on command, Martín de Goiti departed from Cebu and arrived in Manila. The Muslim Tagalogs welcomed the foreigners, but Goiti had other plans. The Spanish force of 300 soldiers marched through Manila and a battle was fought with the heavily armed Spaniards quickly defeating and crushing the native settlements to the ground. Legazpi and his men followed the next year and made a peace pact with the three rajahs and organized a city council consisting of two mayors, 12 councilors, and a secretary.