The location of Fort Santiago was once the site of a palisaded fort, armed with bronze guns, of Rajah Sulaiman, a Muslim chieftain of pre-Hispanic Manila. It was destroyed by maestre de campo (master-of-camp) Martin de Goiti who, upon arriving in 1570 from Cebu, fought several battles with the Muslim natives. The Spaniards started building Fort Santiago (Fuerte de Santiago) after the establishment of the city of Manila under Spanish rule on June 24, 1571, and made Manila the capital of the newly colonized islands.[4]
The first fort was a structure of palm logs and earth. Most of it was destroyed when the city was invaded by Chinese pirates led by Limahong. Martin de Goiti was killed during the siege. After a fierce conflict, the Spaniards under the leadership of Juan de Salcedo, eventually drove the pirates out to Pangasinan province to the north, and eventually out of the country.[5](pp32–44)