<P> On the local level, heading the pacified provinces (alcaldia), was the provincial governor (alcalde mayor). The unpacified military zones (corregimiento), such as Mariveles and Mindoro, were headed by the corregidores . City governments (ayuntamientos), were also headed by an alcalde mayor . Alcalde mayors and corregidores exercised multiple prerogatives as judge, inspector of encomiendas, chief of police, tribute collector, capitan - general of the province and even vice-regal patron . His annual salary ranged from P300 to P2000 before 1847 and P1500 to P1600 after it . But this can be augmented through the special privilege of "indulto de commercio" where all people were forced to do business with him . The alcalde mayor was usually an Insulares (Spaniard born in the Philippines). In the 19th century, the Peninsulares began to displace the Insulares which resulted in the political unrests of 1872, notably the execution of GOMBURZA, Novales Revolt and mutiny of the Cavite fort under La Madrid . </P> <P> The pueblo or town is headed by the Gobernadorcillo or little governor . Among his administrative duties were the preparation of the tribute list (padron), recruitment and distribution of men for draft labor, communal public work and military conscription (quinto), postal clerk and judge in minor civil suits . He intervened in all administrative cases pertaining to his town: lands, justice, finance and the municipal police . His annual salary, however, was only P24 but he was exempted from taxation . Any native or Chinese mestizo, 25 years old, literate in oral or written </P> <P> Any member of the Principalía, who speaks or who has knowledge of the Spanish language and has been a Cabeza de Barangay of 4 years can be a Gobernadorcillo . Among those prominent is Emilio Aguinaldo, a chinese mestizo, and who was the Gobernadorcillo of Cavite El Viejo (now Kawit). The officials of the pueblo were taken from the Principalía, the noble class of pre-colonial origin . Their names are survived by prominent families in contemporary Philippine society such as Duremdes, Lindo, Tupas, Gatmaitan, Liwanag, Mallillin, Pangilinan, Panganiban, Balderas, and Agbayani, Apalisok, Aguinaldo to name a few . </P> <P> Every barangay was further divided into "barrios", and the barrio government (village or district) rested on the barrio administrator (cabeza de barangay). He was responsible for peace and order and recruited men for communal public works . Cabezas should be literate in Spanish and have good moral character and property . Cabezas who served for 25 years were exempted from forced labor . </P>

When did the spaniards came in the philippines