When the Spanish fleet led by Miguel López de Legazpi arrived in the Philippines in 1565, they were met by local datus as they traveled in the islands. Arriving in the Kingdom of Maynila, a vassal-state of the Sultanate of Brunei, in 1570 they were met by the Muslim rajah, Rajah Sulaiman III.