The Conspiracy of the Maharlikas, also referred to as the Revolt of the Lakans or the Tondo Conspiracy of 1587–1588 was a plot against Spanish colonial rule by the Tagalog and Kapampangan noblemen, or Datus, of Manila and some towns of Bulacan and Pampanga, in the Philippines. They were the indigenous rulers of their area or an area yet upon submission to the might of the Spanish was relegated as mere collector of tributes or at best Encomenderos that need to report to a Spanish Governor. It was led by Agustín de Legazpi, the son of a Maginoo of Tondo (one of the chieftains of Tondo), born of a Spanish mother given a Hispanized name to appease the colonizers, grandson of conquistador Miguel López de Legazpi, nephew of Lakan Dula, and his first cousin, Martin Pangan. The datus swore to rise up in arms. The uprising failed when they were betrayed to the Spanish authorities by Antonio Surabao (Susabau) of Calamianes.
The mastermind of the plot was Don Agustín de Legazpi; the mestizo grandson of conquistador Miguel López de Legazpi, nephew of Lakan Dula, a relative of Rajah Matanda. Being a Moro, he was the son-in-law of Sultan Bolkieh of Brunei, whose first cousin was Martín Panga, the gobernadorcillo of Tondo.
Besides the two, the other leaders were Magat Salamat, son of Lakan Dula and the crown prince of Tondo; Juan Banal, another prince of Tondo and Salamat’s brother-in-law; Geronimo Basi and Gabriel Tuambacar, brothers of Agustín de Legazpi; Pedro Balingit, the Lord of Pandakan; Felipe Salonga, the Lord of Polo; Dionisio Capolo (Kapulong), the Lord of Kandaba and brother of Felipe Salonga; Juan Basi, the Lord of Tagig; Esteban Taes (also Tasi), the Lord of Bulakan; Felipe Salalila, the Lord of Misilo (Maysilo, now part of Malabon); Agustín Manuguit, son of Felipe Salalila; Luis Amanicalao, another prince of Tondo and his son Calao; Felipe Amarlangagui, the commander-and-chief of Katanghalan; Omaghicon, the Minister of Nabotas, and Pitongatan (Pitong Gatang), another prince of Tondo and two governors from Malolos and Guiguinto.