<P> The office of the alcalde evolved during the Reconquista as new lands were settled by the expanding kingdoms of León and Castile . As fortified settlements in the area between the Douro and Tagus rivers became true urban centers, they gained, from their feudal lords or the kings of Leon and Castile, the right to have councils . Among the rights that these councils had was to elect a municipal judge (iudex in Latin and juez in Spanish). These judges were assisted in their duties by various assistant judges, called alcaldes, whose number depended on the number of parishes the town had . The title alcalde was borrowed from the Arabic al - qaḍi (قاضي), meaning "the judge ." </P> <P> The word alcalde originally was used for simple judges, as in Andalusian Arabic . Only later was it applied to the presiding municipal magistrate . This early use continued to be reflected in its other uses, such as alcaldes del crimen, the judges in the audiencias; Alcaldes de la Casa y Corte de Su Majestad, who formed the highest tribunal in Castile and also managed the royal court; alcaldes mayores, a synonym for corregidor; and alcaldes de barrio, who were roughly the equivalent of British parish constables . Because of this, the municipal alcalde was often referred to as an alcalde ordinario . </P> <P> By the end of the fourteenth century the definite form of the Castilian municipal council, the ayuntamiento or cabildo, had been established . The council was limited to a maximum of twenty - four members (regidores), who may be appointed for life by the crown, hold the office as an inherited possession or be elected by the citizens (vecinos) of the municipality . (Many cabildos had a mix of these different types of regidores .) The number of magistrates, now definitely called alcaldes, was limited to one or two, depending on the size of the city and who were elected annually by the regidores . To ensure control over cabildos, the Castilian monarchs often appointed a corregidor, who took over the role of the presiding officer of the council . The cabildo was taken to the Americas and Philippines by the Spanish conquistadors . Towns and villages in the Americas with the right to a council (villas and lugares in the Recopilación de las Leyes de Indias, 1680) had one alcalde . Cities (ciudades) had two, which was the maximum number anywhere . Early in the conquest, adelantados had the right to appoint the alcaldes in the districts they settled, if they could attract the legally specified number of settlers to the area . This right could be inherited for one generation, after which the right of election returned to the municipal council . </P> <P> In modern Spanish, the term alcalde is equivalent to a mayor, and is used to mean the local executive officer in municipalities throughout Spain and Latin America . For example, the title alcalde continued to be used in the Spanish - speaking American Commonwealth of Puerto Rico after the occupation of the island during the Spanish--American War in 1898 . In the autonomous Spanish cities of Ceuta and Melilla, however, the alcaldes - presidentes have greater powers than their peninsular colleagues . </P>

Prior to the acquisition by the united states the alcalde performed the function of